Upload form in ASP

Ok i'm trying to get SA Fileup working for uploading files to my server, here is the error messgae i keep getting:

SoftArtisans.SAFile.1 error '80070005'

Error occurred when moving cached file to final destination. Please check the NTFS permissions for the directory "e:\somepath\docs\" and the directory containing the file "e:\someOtherPath\docs\newinvoice.pdf". These directories require Read, Write and Delete permissions by the anonymous user ( NT account: IUSR_computername ) and/or by your authenticated users.Access is denied.

/clientlink/admin/formresp.asp, line 10

My code is (you can try the page for yourself here: http://www.aiwmedia.com/clientlink/admin/form.asp)

<%@ LANGUAGE="VBSCRIPT" %>
<HTML>
<HEAD>
<TITLE>Upload File Results</TITLE>
</HEAD>
<BODY>
Thank you for uploading your file.<br>
<% Set upl = Server.CreateObject("SoftArtisans.FileUp") %>
<% upl.Path = "e:\kunden\homepages\29\d90486262\aiwmedia\clientlink\docs\" %>
<% upl.Save %><BR>
Total Bytes Written: <%=upl.TotalBytes%>
</BODY>
</HTML>

i have given read/write/execute permissions to the docs folder and for all files within to the IUSR. what can i do?
alex_wareingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fritz_the_blankCommented:
Are you certain that you have given the IUSR_  READ/WRITE/DELETE permissions to both directiories? Sometimes a reboot is necessary on NT before this really works.

FtB
0
alex_wareingAuthor Commented:
i have shared hosting and i have set the preference, but i can't reboot the server!
0
fritz_the_blankCommented:
If you have shared hosting, I suspect that you may not be able to set those permissions. Any chance of running this by the server administrator?

FtB
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

alex_wareingAuthor Commented:
i have shared hosting with oneandone.co.uk. The permissions can be set, and work when i do them for databases. When i use this code:

<%
Set objFile = Server.CreateObject("SoftArtisans.SAFile")
objFile.Path = "e:\somePath\docs\"
objFile.Create "oraMutantur.txt"
%>

it writes the file ok

0
fritz_the_blankCommented:
Can you delete the file as well? The message says that delete is required.

ftB
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fritz_the_blankCommented:
BTW, I get the same error message here.

FtB
0
alorentzCommented:
Is this the same thing as theother thread, because you have not responded there:

http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_21215104.html

For 1and1 you need to use the 1and1 control panel to give access to the IUSR.  You login to 1and1 -> Administration -> Applications -> WebFiles

Then setup the security for the folder you want to upload to.
0
alex_wareingAuthor Commented:
No these are 2 seperate questions, the other question is how to go about it.

I have done exactly as you show and use WebFiles to set the permissions, and yet i still get this error message? which is why i thought it may be a code issue
0
alorentzCommented:
PS, probably not the best idea to display the full paths in your errors....that is account specific information for you, and not that safe out here on the web!
0
alorentzCommented:
>>No these are 2 seperate questions, the other question is how to go about it.

So is the other question answered or do you need more help there?

>>which is why i thought it may be a code issue

Not a code issue...
0
fritz_the_blankCommented:
The error message clearly points to a permissions issue. I realize that you have set READ and WRITE, but the error message indicates that DELETE is necessary as well.

FtB
0
alorentzCommented:
>>Error occurred when moving cached file to final destination

I don't think this is delete error?  Is it?
0
alorentzCommented:
>>I am going to edit out the full paths in the threads for security purposes.

Thanks.
0
fritz_the_blankCommented:
Yes--it could be as the delete is part of the move.

FtB
0
alex_wareingAuthor Commented:
FtB i realise the security issue with posting paths, please could you edit the path in the code block in the orginal question as well thanks
0
alex_wareingAuthor Commented:
Well i finally got through to oneandone support and they told me that the problem was with the delete permission. Apparently i had set it using the managment app but the changes hadn't been made on the server itself for some reason??? anyway its been done manually for me. was driving me nuts for a while then. thanks guys
0
fritz_the_blankCommented:
Glad to have helped,

FtB
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.