I'm attaching the code below. The Session variable PDIR contains 0024. Filetype contains the name of the file to upload.
Main Topics
Browse All TopicsI have a website that uses ASP and the Free ASPUpload.dll to upload files to the website. When the user logs in, they can upload their own files which get stored in folders on my website. I am not using FTP to do this upload. The Free ASPUpload.dll has a date of Aug. 2, 2005. I have not made any changes to the source.
The upload functionality was working fine one day and then stopped. I have been working with the Admin where my site is hosted and he can't seem to find the problem. It appears to be a permission problem but I don't know what it is. I am now getting the following error returned when trying to upload files:
File Save Failed For The Following Reason: Path not found
e:\webspace\resadmin\owner
When I use FTP software, I can upload files to the directory that is mentioned above. The difference is I am using an FTP user that has full privileges to the e:\webspace\resadmin\owner
The Admin has unregistered and re-registered the DLL with no affect. He even gave the Everyone user Full Control and I still could not upload files. I downloaded the entire site from his server to my test server and the application runs fine. I can upload files without any problem.
I really need to get this resolved but the Admin basically told me he is out of ideas. Anyone who has ideas on what the problem could be or even another solution to allow my users to upload their files, I would really appreciate your help.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
in this code you never set the filetype value. in the error message add this..
TheMessage = "<b>File Save Failed For The Following Reason: " & oUpload.Error & "<br>" & oUpload.Path & " filetype:" & filetype '& "</b>"
And see what it says... is that a valid path? Paste the error message in here if its not secret so i can see it.
Business Accounts
Answer for Membership
by: ArachnidCreationsPosted on 2009-08-14 at 08:56:58ID: 25099478
What variables do you pass to the Component? (ASPUpload.dll in this case) Do you pass the path to upload? What else? I recently went through this headache myself. But i got it resolved.