Not recognized listing format from toolbox ls command
When try to connect to android cyanogenmod builtin ssh server (version 11 but probably all) by using SCP protocol I get only
Unexpected directory listing line 'drwxr-xr-x root root 1970-02-03 01:41 acct'.
Workaround is to set "busybox ls -la" in directory listing command advanced session configuration.
Here is example for format used by ls -la issued in root directory:
Please add this ls format to winscp.
Test version WinSCP, Version 5.5.6 (Build 4746)
Unexpected directory listing line 'drwxr-xr-x root root 1970-02-03 01:41 acct'.
Workaround is to set "busybox ls -la" in directory listing command advanced session configuration.
Here is example for format used by ls -la issued in root directory:
root@C1905:/ # ls -l `which ls` lrwxrwxrwx root root 1970-01-23 22:09 ls -> toolbox root@C1905:/ # ls -la drwxr-xr-x root root 1970-02-03 01:41 acct -rw------- root root 2 2014-12-28 15:18 boot.chk -rw-r--r-- root root 102 1970-02-03 01:41 boot.txt drwxrwx--x system cache 2014-12-17 23:58 cache -rwxr-x--- root root 284704 1970-02-03 01:41 charger dr-x------ root root 1970-02-03 01:41 config lrwxrwxrwx root root 1970-02-03 01:41 d -> /sys/kernel/debug drwxrwx--x system system 2014-12-28 15:16 data -rw-r--r-- root root 136 1970-02-03 01:41 default.prop drwxr-xr-x root root 2014-12-28 15:18 dev lrwxrwxrwx root root 1970-02-03 01:41 etc -> /system/etc lrwxrwxrwx root root 1970-02-03 01:41 ext_card -> /storage/sdcard1 -rw-r--r-- root root 11071 1970-02-03 01:41 file_contexts dr-xr-x--- system system 1970-01-01 01:00 firmware -rw-r----- root root 1208 1970-02-03 01:41 fstab.qcom -rwxr-x--- root root 187840 1970-02-03 01:41 init -rwxr-x--- root root 1822 1970-02-03 01:41 init.class_main.sh -rwxr-x--- root root 6622 1970-02-03 01:41 init.cm.rc -rwxr-x--- root root 992 1970-02-03 01:41 init.environ.rc -rwxr-x--- root root 20490 1970-02-03 01:41 init.qcom.rc -rwxr-x--- root root 5735 1970-02-03 01:41 init.qcom.usb.rc -rwxr-x--- root root 22030 1970-02-03 01:41 init.rc -rwxr-x--- root root 341 1970-02-03 01:41 init.recovery.qcom.rc -rwxr-x--- root root 301 1970-02-03 01:41 init.superuser.rc -rwxr-x--- root root 12056 1970-02-03 01:41 init.target.rc -rwxr-x--- root root 1795 1970-02-03 01:41 init.trace.rc -rwxr-x--- root root 3915 1970-02-03 01:41 init.usb.rc -rw-r--r-- root root 7660 1970-01-01 01:00 logo.rle drwxr-xr-x root root 1970-01-01 01:00 lta-label drwxrwxr-x root system 1970-02-03 01:41 mnt drwxrwx--x system system 2009-01-02 14:00 persist dr-xr-xr-x root root 1970-01-01 01:00 proc -rw-r--r-- root root 2161 1970-02-03 01:41 property_contexts drwxr-xr-x root root 1970-02-03 01:41 res drwx------ root root 2014-12-17 22:13 root drwxr-x--- root root 1970-02-03 01:41 sbin lrwxrwxrwx root root 1970-02-03 01:41 sdcard -> /storage/emulated/legacy -rw-r--r-- root root 660 1970-02-03 01:41 seapp_contexts -rw-r--r-- root root 96188 1970-02-03 01:41 sepolicy drwxr-x--x root sdcard_r 1970-02-03 01:41 storage dr-xr-xr-x root root 1970-02-03 01:41 sys drwxr-xr-x root root 2014-12-28 15:18 system lrwxrwxrwx root root 1970-02-03 01:41 tombstones -> /data/tombstones -rw-r--r-- root root 8196 1970-02-03 01:41 ueventd.qcom.rc -rw-r--r-- root root 7275 1970-02-03 01:41 ueventd.rc lrwxrwxrwx root root 1970-02-03 01:41 usbdisk -> /storage/usbdisk lrwxrwxrwx root root 1970-02-03 01:41 vendor -> /system/vendor root@C1905:/ #
Please add this ls format to winscp.
Test version WinSCP, Version 5.5.6 (Build 4746)