Bug in FTP protocol prevents changing directory
WinSCP in FTP mode fails to enter symlinked directories on some FTP servers. I am using SwiFTP on my android device and all FTP software except WinSCP works well with it. I made a debug log which clearly shows a bug in change directory code:
I attached full log file as well.
. 2012-01-13 02:57:39.004 Changing directory to "sdcard". > 2012-01-13 02:57:39.004 CWD sdcard < 2012-01-13 02:57:39.051 250 CWD successful . 2012-01-13 02:57:39.051 Got reply 1 to the command 16 . 2012-01-13 02:57:39.051 Getting current directory name. > 2012-01-13 02:57:39.051 PWD < 2012-01-13 02:57:39.057 257 "mnt/sdcard" . 2012-01-13 02:57:39.057 Got reply 1 to the command 16 . 2012-01-13 02:57:39.057 Retrieving directory listing... > 2012-01-13 02:57:39.057 CWD /mnt/sdcard/mnt/sdcard/ < 2012-01-13 02:57:39.064 550 Can't CWD to invalid directory . 2012-01-13 02:57:39.064 Could not retrieve directory listing . 2012-01-13 02:57:39.065 Got reply 4 to the command 2 * 2012-01-13 02:57:39.079 (ECommand) Error listing directory 'mnt/sdcard'. * 2012-01-13 02:57:39.079 Could not retrieve directory listing * 2012-01-13 02:57:39.079 Can't CWD to invalid directory
I attached full log file as well.