SCP, no file listed at all

FTP client for Android handsets.
Post Reply
support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

SCP, no file listed at all

Post by support »

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:

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
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.

Post Reply