I want to create a page with asp-classic where users can upload files or zipped folders.
I’ve searched in Google but every solution I have found uses a third-party file.
But I haven’t been able to get those files to work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
long time since I’ve done that but we used an upload without third party components, just two vbscript classes (solution credit goes to Lewis Moten).
It looks like you can still find this “Lewis Moten solution” in the wild
If you include the clsUpload file, further upload process is as simple as:
That’s all for the server-side…
On the client-side you just need your File input
Hope this helps..
Edit 23 June 2014
As pointed out by Dave Wut my reference to the solution “in the wild” was not completely consistent with the code snippet provided. Hereby the full classes that I had used historically (comments trimmed to stay below the 30000 SO limit). It was an early version of the Lewis Moten solution found at http://planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8525&lngWId=4
1) Contents of clsUpload.asp
2) Contents of clsField.asp