PDA

View Full Version : Upload problem - double cwd ftp command


tfrank
6th of March 2004 (Sat), 21:06
So, I'm stuck now. Installing is completed but I can't upload anything.

Working from scratch -> getting xampp, setting it up on my system, works flawlessly, getting ee 1.22, setting it up, works fine but misses vital exif and iptc features, finding ee 1.5, installing it and working through all patches and fixes, and setting it up according to the quick install guide and
http://www.photography-on-the.net/ee/beta/setup_upload_system.php#demo I'm stuck at the point 5. Uploading.

Step 1: "send photos to server upload folder" works fine.
But after selecting the according files and the size, hitting the button "upload" gets the filename, iptc and exif data into the database, but no images appear.

In the log file of the ftp server (FileZilla) I can see that ee sends double cwd commands, for which the second produces an obvious error and then this was it...????

What went wrong? Here is the according snippet from the ftp log file:


000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> Connected, sending welcome message...
(000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> 220-FileZilla Server version 8.8 final
(000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> USER xxx
(000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> 331 Password required for xxx
(000095) 07.03.2004 03:42:47 - (not logged in) (127.0.0.1)> PASS *****
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> 230 Logged on
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> CWD ee15/photos/microthumb
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> 250 CWD successful. "/ee15/photos/microthumb" is current directory.
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> CWD ee15/photos/microthumb
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> 550 CWD failed. "/ee15/photos/microthumb/ee15/photos/microthumb": directory not found.
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> QUIT
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> 221 Goodbye
(000095) 07.03.2004 03:42:47 - xxx (127.0.0.1)> disconnected.

the ftp tests all completed successful with one exeption for the ee home ftp server:

CHECK IF EE HOME DIRECTORY: FAILED Reason: unknown

which looks in the ftp log file as follows
>CWD /ee15/outputstyles
> 550 CWD failed. "/ee15/outputstyles": directory not found.

but this dir is there. And with all other tests finishing ok I have no clue why this dir shouldn't be found.

I have tested both: the internal ftp engine and the php ftp engine.

Pekka
7th of March 2004 (Sun), 05:17
Ftp paths must always have a slash / as first character. You path

ee15/photos/microthumb

should be e.g.

/ftp/path/to/ee15/photos/microthumb

You can determine your ftp path to EE by normal ftp program. Browse with it to EE directory and give command PWD (print work directory). The path you see is you ftp path, to be used as base path for all ftp paths in EE.

To set up EE you really should go though document http://photography-on-the.net/ee/beta/setup_upload_system.php and follow it to the letter. Same document is found in EE editor under link "Manual".

tfrank
7th of March 2004 (Sun), 08:35
Thanks for the quick reply.

Yes - it works now! :-)
Now I can go experimenting :-)

Two things went wrong:

First - the server root setting for the ftp server filezilla in the XAMPP distribution which I use was directed to the generic c:\xampp\htdocs and not to the real point were XAMPP resides on my system. But you couldn't see that so easily because no drive letters are displayed in it for the first start.

Second - while experimenting with the path settings I omitted the leading / in the path setup editor for the respective ftp folders.

have a nice sunday,
Torsten