SCP, no file listed at all
Posted: Sun Nov 03, 2013 3:59 pm
Some users report that they get empty list when connecting to some SCP server. 99% of such issue come from date format. There is no standard date for SCP so the list entry parser consider the line as corrupted. Here after a sample for Russian date:
Supported date formats are the ones for FTP:
1- "MMM d yyyy", for instance: Nov 26 2013
2- "MMM d HH:mm", for instance: Nov 26 21:16
3- "yyyy-MM-dd HH:mm", for instance: 2013-11-26 21:16
Try to enable date format #3 on you server to make it works. It includes numbers only so it should work whatever the locale.
Code: Select all
drwxr-xr-x 3 test test 4096 ноÑб. 1 19:58 .
drwxr-xr-x 6 root root 4096 ноÑб. 1 19:56 ..
-rw-r--r-- 1 test test 220 ноÑб. 1 19:56 .bash_logout
-rw-r--r-- 1 test test 3637 ноÑб. 1 19:56 .bashrc
drwx------ 2 test test 4096 ноÑб. 1 19:58 .cache
-rw-r--r-- 1 test test 8942 ноÑб. 1 19:56 examples.desktop
-rw-r--r-- 1 test test 675 ноÑб. 1 19:56 .profile
1- "MMM d yyyy", for instance: Nov 26 2013
2- "MMM d HH:mm", for instance: Nov 26 21:16
3- "yyyy-MM-dd HH:mm", for instance: 2013-11-26 21:16
Try to enable date format #3 on you server to make it works. It includes numbers only so it should work whatever the locale.