Topic "Can't list a directory (tried passive and active modes)"

Author Message
kaizersose
[View user's profile]

Joined: 2010-10-07
Posts: 1
I have a problem to list a directory of my Apache FTP server, while all other ftp client have no problem (filezila, flashFxp, command line FTP, Total Commander, etc.)
Here is the log:
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "\" is current directory.
Getting current directory name.
Retrieving directory listing...
TYPE A
200 Command TYPE okay.
PASV
227 Entering Passive Mode (127,0,0,1,232,57)
LIST -a
150 File status okay; about to open data connection.
226 Closing data connection.
Directory listing successful
Startup conversation with host finished.
Changing directory to "DEFAULT".
Synchronizing current directory "\".
CWD \
250 Directory changed to \
CWD DEFAULT
250 Directory changed to \DEFAULT
Getting current directory name.
PWD
257 "\DEFAULT" is current directory.
Retrieving directory listing...
CWD /DEFAULT/DEFAULT/
550 No such directory.
Could not retrieve directory listing
(ECommand) Error listing directory '\DEFAULT'.
Could not retrieve directory listing
No such directory.
TYPE I
200 Command TYPE okay.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.


as you can see, somehow, it asks for CWD of incorrect path, therefore getting an error. Can you think of any reason for him to do that?

Regards,
Oleg.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
WinSCP can work only against server with Unix-like paths.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License