Topic "Error listing directory"

Author Message
shpeka

Guest


Try to login a specific FTP-server. WinSCP cannot obtain current remote directory from
remote FTP-server. The log file attached to this message.
root@10.71.50.56.log (5.85 KB) [Download]

Description: debug log from WinSCP

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
The only allowed positive response code to PWD command is 257. Your server violates the specification by using a code 250.

Quote:
PWD
250 "/" is the current directory.


See RFC 959:

Quote:
Essentially because the PWD command returns the same type of
information as the successful MKD command, the successful PWD
command uses the 257 reply code as well.
shpeka

Guest


prikryl wrote:
The only allowed positive response code to PWD command is 257. Your server violates the specification by using a code 250.

Quote:
PWD
250 "/" is the current directory.


Thanks for reply.
So, maybe do just some option for this case and do not drop connection after received response code 250 and send
CWD / command as do other FTP clients?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Will see if other users face this issue as well.
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