View Full Version : Ftp
Irfan
07-26-2003, 09:14 AM
Dear everyone
I want to include the Upload and Download component in my application i am making in ASP but I have no idea how to do. please guide me
thanks
Irfan Haider
Spudhead
07-28-2003, 04:31 PM
Riiiiiiight...
Three questions:
1. What upload component are you trying to use?
2. What are you trying to do with it?
3. What does the manual say about it?
Bullschmidt
07-30-2003, 02:39 PM
For uploading first let's deal with the timeout issue which can be a problem if a user is uploading a fairly large file (although perhaps you don't want the timeout increased too much because you DON'T want a user uploading a large file).
For pure ASP (i.e. non component) solutions (and I believe this would be true for component solutions too) can increase the timeout for the page:
' Script timeout in seconds for this page.
' (60 x 60 = 1 hour.)
Server.ScriptTimeout = 60 * 60
Also the Anonymous Internet user needs Change permission on the folder that a file is going to be uploaded to and actually Full Access might be better if you are later going to use the FileSystemObject to delete a file.
Here is a resource for letting the user upload a file which is something that was unfortunately not built into ASP:
ASP File Upload Using VBScript by John R. Lewis - 7/10/2000
http://www.aspzone.com/articles/john/aspUpload
Bullschmidt
07-22-2005, 05:29 PM
Updated (corrected) link:
ASP File Upload Using VBScript by John R. Lewis - 7/10/2000
http://aspzone.com/articles/160.aspx
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.