Forums

ASP

This topic is locked

ASPUpload on Godaddy

Posted 08 Feb 2007 23:29:42
1
has voted
08 Feb 2007 23:29:42 Jim Smith posted:
I'm trying to upload files using ASPUpload. In the form the user has to select a folder to upload to, and then add the file. My problem is that I cannot get it to work where ASPUpload will upload to the selected folder. Since folders can be added or deleted at anytime, I need this to be scripted in, but with ASPUpload you cannot get information from the multipart form until after the .Save function is called. I am using godaddy.com for the hosting, which does not allow you to use the .Save function of ASPUpload, you must use the .SaveVirtual function.

This is the line I am using to save the file, but it will not get the value from the form so Upload.Form is empty. I can take off the last / and have it upload, but not to the selected folder.

Count = Upload.SaveVirtual("files/" & Upload.Form("category" & "/"

Any help would be greatly appreciated.

Reply to this topic