HostNed Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
August 28, 2008, 12:42:57 AM
248
Posts in
90
Topics by
65
Members
Latest Member:
apurvis
HostNed Forums
|
WEB HOSTING
|
Windows Hosting
| Topic:
How to use Dundas Upload for ASP
0 Members and 0 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: How to use Dundas Upload for ASP (Read 2047 times)
ctwjr
Newbie
Gender:
Posts: 22
HostNed is the best!
How to use Dundas Upload for ASP
«
on:
May 08, 2006, 10:42:05 AM »
For uploading files on Windows servers (I am on server WIN2 and it works great), HostNed supports
Dundas ASP Upload
-- a very easy to use component.
Here is an example:
It's very easy to use. You will need to create 2 files
1. upload.html
Code:
<html>
<body bgcolor="#FFFFFF">
<form method="POST" enctype="multipart/form-data" action="upload.asp">
<input type="FILE" size="40" name="FILE1"><br>
<input type="FILE" size="40" name="FILE2"><br>
<input type="FILE" size="40" name="FILE3"><br>
<input type=submit value="Upload!">
</form>
</body>
</html>
2. upload.asp
Code:
Dim objUpload
Set objUpload = Server.CreateObject("Dundas.Upload.2")
objUpload.MaxFileSize = 150000
objUpload.UseVirtualDir = True
objUpload.UseUniqueNames = False
objUpload.Save "/upload"
Set objUpload = Nothing
Response.Write "Files Uploaded Successfully!"
Give it a try.
«
Last Edit: May 09, 2006, 11:00:39 PM by Dynaweb
»
Logged
I yam what I yam - Mr Potato Head
Pages:
[
1
]
HostNed Forums
|
WEB HOSTING
|
Windows Hosting
| Topic:
How to use Dundas Upload for ASP
« previous
next »
Jump to:
Please select a destination:
-----------------------------
LOUNGE
-----------------------------
=> Announcements
=> Just Chat
===> Introductions
===> Chat about your websites
=> HostNed Magazine
===> Advertising Boards
===> Articles
===> Industry News
-----------------------------
WEB HOSTING
-----------------------------
=> General Hosting
=> Windows Hosting
===> Reseller Hosting Plans
===> Advanced Hosting Plans
===> Custom Hosting Plans
=> Linux Hosting
===> Reseller Hosting Plans
===> Advanced Hosting Plans
===> Custom Hosting Plans
-----------------------------
WEB DESIGN
-----------------------------
=> Graphics
=> Scripting
=> Ecommerce
=> Critique My Site
=> Design Other
-----------------------------
OTHER SERVICES
-----------------------------
=> Domain Names
=> Other
-----------------------------
BOARD ROOM
-----------------------------
=> General Management
=> I wish ...
=> Hall of Shame
HostNed Forums | Powered by
SMF 1.0.10
.
© 2001-2005,
Lewis Media
. All Rights Reserved.
HostNed.com
|
Members Area