Subject: | single symlink in a dir breaks with ncftp client |
When connected with ncftp client if an ls is performed in a directory which contains only a single symlink to a file the output is confused:
ncftp /root/d > ls -l
TYPE=OS.UNIX=LINK;SIZE=10;MODIFY=20050205173259;UNIX.MODE=rwxr-xr-x;PERM=rwfd; 1
using ls -la corrects the behaviour:
ncftp /root/d > ls -la
total 1
drwxr-xr-x 2 root wheel 512 Feb 5 17:33 .
drwxr-xr-x 9 root wheel 512 Feb 5 16:09 ..
lrwxr-xr-x 1 root wheel 10 Feb 5 17:32 1 -> /COPYRIGHT
If more than one file / dir exist in addition to the symlink then the symlink is just ommited.