Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

Moving From WINDOWS NT to WINDOWS 2000:ASP UPLOAD

Posted 12 May 2004 17:49:12
1
has voted
12 May 2004 17:49:12 euan green posted:
Hi,

I am moving files from an NT server to a windos 2003 server but am having problems with the ASP upload pages. ON one page it works fine and can upload to the specified directory. On another page, which is further into the site and uploads to a directory located back in the root directory, it does not save the file. It gives a 'check this folder for permissions etc' message. Has anyone come across any quirks etc when moving from NT server to Windows 2003 server?

The permissions must be OK as I can upload into the directory from the page located at the top level of the site.

HIA

Euan

Replies

Replied 12 May 2004 18:49:24
12 May 2004 18:49:24 Vince Baker replied:
Are you sure that the permissions have been inherited in the lower level folder?

Check that the internet guest account has edit rights in the folder for the upload.

If this is all working correctly I suggest posting a message in the ASP Upload support forum as the developers of the extension check posts in that forum. Find a link below to the support forum:

www.dmxzone.com/forum/default.asp?NewsId=1622

Regards
Vince

DMX Talkzone Manager

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 12 May 2004 18:52:36
12 May 2004 18:52:36 euan green replied:
Hi,

Yes, the permissions have been inherited. It seems the problem is caused by the page that is calling the script and it's location relative to the upload folder.

I'll post in the aspupload forum as you suggested.

Thanks

Euan
Replied 12 May 2004 19:33:52
12 May 2004 19:33:52 Rene Bandsma replied:
I think that this is the problem: www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=5424

I had the same problem when moving from 2000 to 2003 server.

Replied 13 May 2004 12:55:47
13 May 2004 12:55:47 euan green replied:
Hi,

Thanks for the replies.

It's not the settings for file size that are the problem though. It seems that the problem lies with specifying the upload folder and using ../ to go back a directory.

When I use for example "uploads/images" as the path name the script works fine, when I use "../uploads/images" the script comes up with the following message:

"../uploads/images"An error has occured saving uploaded file!

Filename: /folder1/login/news/../uploaded/news_ims/200x140_1.jpg
Maybe the destination directory does not exist, or you don't have write permission.
Please correct and try again

The folder does exist though as I can upload into that folder using the same script but moving the page back a directory so ther eis no need for the "../"

So, it looks like now I can't upload files into the same folder unless all the scripts/pages are located in the same directory.

Has anyone any ideas on this?

TIA

Euan
Replied 13 May 2004 13:02:56
13 May 2004 13:02:56 euan green replied:
Hi,

I'm moving this topic to the asp upload forum as suggested so if anyone would like to reply the thread is here:

www.dmxzone.com/forum/topic.asp?TOPIC_ID=28345&FORUM_ID=308&CAT_ID=102&NewsId=1622&Topic_Title=Moving+From+WINDOWS+NT+to+WINDOWS+2003%3AASP+UPLOAD&Forum_Title=Bugs

Cheers, and thanks again for any help.

Euan

Reply to this topic