No directory listing on some servers
When I connect to some servers I sometime don't get directory listing, as I understand it is happening because these servers don't support --full-time option on ls command and WinSCP
can't detect that. This is log when I get directory listing:
. 2009-01-30 02:18:32.046 Listing current directory.
> 2009-01-30 02:18:32.046 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
! 2009-01-30 02:18:32.171 ls: illegal option -- -
! 2009-01-30 02:18:32.281 usage: ls [-ABCFGHLPRTWZabcdfghiklmnoqrstuwx1] [file ...]
< 2009-01-30 02:18:32.281 WinSCP: this is end-of-file:1
* 2009-01-30 02:18:32.281 (ETerminal) Command 'ls -la --full-time'
* 2009-01-30 02:18:32.281 failed with return code 1 and error message
* 2009-01-30 02:18:32.281 ls: illegal option -- -
* 2009-01-30 02:18:32.281 usage: ls [-ABCFGHLPRTWZabcdfghiklmnoqrstuwx1] [file ...].
. 2009-01-30 02:18:32.281 Directory listing with --full-time failed, try again regular listing.
. 2009-01-30 02:18:32.281 Listing current directory.
> 2009-01-30 02:18:32.281 ls -la ; echo "WinSCP: this is end-of-file:$?"
< 2009-01-30 02:18:32.437 total 10840
This is log when I don't get listing on same server:
. 2009-01-30 02:18:10.765 Listing current directory.
> 2009-01-30 02:18:10.765 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2009-01-30 02:18:11.515 WinSCP: this is end-of-file:1
. 2009-01-30 02:18:11.515 Listing file "..".
> 2009-01-30 02:18:11.515 ls -la -d ".." ; echo "WinSCP: this is end-of-file:$?"
! 2009-01-30 02:18:11.531 ls: illegal option -- -
! 2009-01-30 02:18:11.531 usage: ls [-ABCFGHLPRTWZabcdfghiklmnoqrstuwx1] [file ...]
< 2009-01-30 02:18:11.796 drws--x--x 887 root wheel 16896 Dec 17 04:44 ..
< 2009-01-30 02:18:11.796 WinSCP: this is end-of-file:0
. 2009-01-30 02:18:11.796 Directory listing with --full-time succeed, next time all errors during directory listing will be displayed immediatelly.
can't detect that. This is log when I get directory listing:
. 2009-01-30 02:18:32.046 Listing current directory.
> 2009-01-30 02:18:32.046 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
! 2009-01-30 02:18:32.171 ls: illegal option -- -
! 2009-01-30 02:18:32.281 usage: ls [-ABCFGHLPRTWZabcdfghiklmnoqrstuwx1] [file ...]
< 2009-01-30 02:18:32.281 WinSCP: this is end-of-file:1
* 2009-01-30 02:18:32.281 (ETerminal) Command 'ls -la --full-time'
* 2009-01-30 02:18:32.281 failed with return code 1 and error message
* 2009-01-30 02:18:32.281 ls: illegal option -- -
* 2009-01-30 02:18:32.281 usage: ls [-ABCFGHLPRTWZabcdfghiklmnoqrstuwx1] [file ...].
. 2009-01-30 02:18:32.281 Directory listing with --full-time failed, try again regular listing.
. 2009-01-30 02:18:32.281 Listing current directory.
> 2009-01-30 02:18:32.281 ls -la ; echo "WinSCP: this is end-of-file:$?"
< 2009-01-30 02:18:32.437 total 10840
This is log when I don't get listing on same server:
. 2009-01-30 02:18:10.765 Listing current directory.
> 2009-01-30 02:18:10.765 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2009-01-30 02:18:11.515 WinSCP: this is end-of-file:1
. 2009-01-30 02:18:11.515 Listing file "..".
> 2009-01-30 02:18:11.515 ls -la -d ".." ; echo "WinSCP: this is end-of-file:$?"
! 2009-01-30 02:18:11.531 ls: illegal option -- -
! 2009-01-30 02:18:11.531 usage: ls [-ABCFGHLPRTWZabcdfghiklmnoqrstuwx1] [file ...]
< 2009-01-30 02:18:11.796 drws--x--x 887 root wheel 16896 Dec 17 04:44 ..
< 2009-01-30 02:18:11.796 WinSCP: this is end-of-file:0
. 2009-01-30 02:18:11.796 Directory listing with --full-time succeed, next time all errors during directory listing will be displayed immediatelly.