Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

asp upload: directory does not exist error

Posted 27 Jan 2002 02:05:38
1
has voted
27 Jan 2002 02:05:38 Andrew Ross posted:
I'm trying setup an upload page using the free version of Pure ASP Upload, but I keep getting this error:

"An error has occured saving uploaded file!

Filename: /canphotodirect/images/bb.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again."

I checked with my ISP about "WRITE access for the IUSR_xxx user" and this was their response: "You are set up with write access to all area's of your NT partition."

I've read the FAQs and George's tutorial. I've created the upload.asp file twice and tried it in my root directory as well as the same dir as my images and I always get the same error.

Any suggestions?






Replies

Replied 28 Jan 2002 15:14:52
28 Jan 2002 15:14:52 Andrew Ross replied:
Anybody?


Replied 29 Jan 2002 01:06:46
29 Jan 2002 01:06:46 Andrew Ross replied:
Please... I'm begging here. <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>

Somebody must be able to help me figure out why this isn't working for me.

Replied 29 Jan 2002 09:44:12
29 Jan 2002 09:44:12 Viktor Farcic replied:
1. Are you using templates or SSI?
2. I'm not sure that you have read/write permissions to all areas of your domain 'couse it would be big security problem.
3. Have you verified that paths are corrects?
4. Have you tried inserting ASP Upload on a blank page?

There must be something that you're doing wrong or permissions on you domain aren't right. I've tried ASP Upload for several times (I do prefer using my own code but sometimes it's handy) and it works great. Only bug I noticed is that it fails to insert part of the code if the page is using templates or SSI.

Viktor Farcic

TalkZone Manager

Edited by - vfarcic on 29 Jan 2002 09:46:26
Replied 29 Jan 2002 17:03:27
29 Jan 2002 17:03:27 Andrew Ross replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
1. Are you using templates or SSI?
2. I'm not sure that you have read/write permissions to all areas of your domain 'couse it would be big security problem.
3. Have you verified that paths are corrects?
4. Have you tried inserting ASP Upload on a blank page?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I'm starting with a blank page in UltraDev, then add a simple form with a file field and a submit button. Then I insert ASP Upload and leave the Upload Directory field blank, because upload.asp is in my images folder. I wasn't sure if this was correct, so I have tried every possible path to the upload dir that I can think of. Right now all I want to do is upload jpegs. I don't want to insert anything into my database.

I not certain that my ISP understood when I asked them about "WRITE access for the IUSR_xxx user". I'm not even sure what this means! Is there any way I can check this myself using CHMOD properties in CuteFTP?

Right now all my directories are set to:

-------READ---WRITE--EXECUTE
owner---X-------X-------X
group---X-------X
public---X-------X

Thanks for your response Viktor,

Andrew

Replied 15 Apr 2002 19:06:38
15 Apr 2002 19:06:38 paul Bisceglia replied:
im getting the same problem...

i've got it to work in other folders on the same server, but not this time...

i've re-written the page, i've tested it in different locations, i've pushed everybutton, replaced and re-created everything i can think of but on cigar yet...

when i have resolved the problem (by luck i fear) i will post an answer...
Replied 15 Apr 2002 20:01:23
15 Apr 2002 20:01:23 Andrew Ross replied:
I solved my problem by luck and trial and error. My server was no help, and I eventually got it working by placing my "images" directory in my database directory. My database is hosted on an NT partition and ASP Upload only worked when it was in the same directory, "fpdb" in my case.

Since then it has worked flawlessly.

Andrew

Replied 16 Apr 2002 12:36:16
16 Apr 2002 12:36:16 paul Bisceglia replied:
Thanks for the reply Andrew.

I'm still having trouble..

I've tried directing the images to a folder which sits with my database files, i've tryed moving the whole lot, but still no luck.

If moved these files all over the place..

just double checking the error message..

An error has occured saving uploaded file!

Filename: /cms/test.gif
Maybe the destination directory does not exist, or you don't have write permission.

paul



<img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle>
Replied 16 Apr 2002 18:35:02
16 Apr 2002 18:35:02 Andrew Watson replied:
The answers there Andrew, you were able to write to your data folder as you will have write permissions for it. The other folder cant have write permissions.
If you have not got access to the server then you have to use your data folder. You cant change these permissions remotely, also if you ask your ISP nicely they may set you up another folder with write permissions.

Cheers

Reply to this topic