Forums

ASP

This topic is locked

Pure asp upload problem

Posted 29 Oct 2002 01:05:35
1
has voted
29 Oct 2002 01:05:35 Darren Bennett posted:
I have applied pure asp upload and tested it on my local server and it works fine, but when I uploaded it to my ISP's server I get the following error

Microsoft VBScript runtime error '800a003a'

File already exists

/ScriptLibrary/IncPureUpload.asp, line 199

Any Ideas anybody

Replies

Replied 29 Oct 2002 10:17:20
29 Oct 2002 10:17:20 Martha Graham replied:
Make your file unique in Conflict Handling.
This will not overwrite the file, but give it a unique name.

Martha Graham
Replied 29 Oct 2002 10:53:36
29 Oct 2002 10:53:36 Darren Bennett replied:

I don't really understand what martha is saying,I am using a variable to create dynamiclly created directories with overwrite checked, so surely it should overwrite files.
Replied 29 Oct 2002 11:50:56
29 Oct 2002 11:50:56 Martha Graham replied:
Did you set the folder security on the server?

Martha Graham
Replied 29 Oct 2002 12:44:29
29 Oct 2002 12:44:29 Darren Bennett replied:
The ISP has told me the security is set to anonymous, I have done a test just uploading a file to an existing folder and that works fine, as soon as I use my session variable to create the folder I get this error "file already exists, but there is no files or folders there, it errors on line 199 in the script library which is the line that creates the folder, so I'm confused...
Replied 30 Oct 2002 14:36:53
30 Oct 2002 14:36:53 Andrew Watson replied:
Pop up your code and Ill have a look if you like cos this thread isn't making much sense...

Why are you using A session variable to creat the folder...?

???



:: Son, im Thirty.... ::
Replied 30 Oct 2002 15:05:06
30 Oct 2002 15:05:06 Darren Bennett replied:
I am using a session variable because the idea is this:

User logs on to site using order number.
order number is stuffed into a session variable

when the user uploads a picture, pure asp upload uses the session variable to create a folder called the order number and the file placed inside so when I go on the server to find the images I know which job the pictures are for.


the path to the upload folder in pure asp upload is as per the tutorial provided by George the creator of pure asp upload

"upload_folder/" & Session("ordernumber"

when I do this though I get an error on line 199 of the script library (version 2.09) with a message saying file already exists, but it doesn't exist on my server.

Reply to this topic