PDA

View Full Version : FTP Upload Errors


iceman
29th of July 2003 (Tue), 21:39
I am getting some Auto Upload Errors. THe paths are set-up and exhibits created. I get the images into the UPLOAD directory with no problem (Steps 1 and 2).
When I UPLOAD to the selected paths and exhibits (Steps 3 and 4) the images are resized and distribute using ImageMagik and FTP folders are create without a problem.
However, often times the thumbs and more often the microthumbs folders and files are not created, I have tried ImageMajick and GD2 for the thumbs and microthumbs, both occationally have trouble. My server has EXIF, FTP, ImageMagick, and GD2. (No Imagick Pear)
FTP Error message is often:
(msg 4992 | ftp ICD SOFT: WORKING DIRECTORY CHANGE 'www/www/webgallery/horizons/microthumbs' FAILED. Reason: ftp_chdir(): 'www/www/webgallery/horizons/microthumbs: No such file or directory. CAN NOT GO ON...)

All the paths have been double checked. Some seem to work OK, some don't. The file names a fairly generic and shouln't cause a problem.

Any ideas on the cause of this problem?
I am really pleased 1.5 so far and once a few kinks are worked out, it'll be the best script available.

Pekka
30th of July 2003 (Wed), 03:08
1. Ftp "direct" directory changes should always have slash in front, and the slash is taken from ftp path (the first slash means "from root or ftp").

so

www/www/webgallery/horizons/microthumbs

should be

/www/www/webgallery/horizons/microthumbs

which also makes me wonder why the first www is there at all (must be the reason for error messages).

Check that ftp path has slash in front, but no slash in the end.

2. I'm guessing here but maybe the server's symbolic linking to you ftp directory adds the www when slash is missing...

3. Is that path already there? If you seek ftp messages BEFORE that error you should see EE creating the path one folder at a time.

4. Network problems (packet loss) may also cause hiccups. If problems are not repeatable then this may be the cause. Programs like EE does it every time in same way: it either works or it does not work at all.

iceman
30th of July 2003 (Wed), 10:20
Problem corrected in FTP paths

Thanks Pekka