Unexpected directory listing line
is typical.. Any ideas?Error listing directory "/mnt/data".
Unexpected directory listing line "drwxr-xr-x 2 root 12288 Oct 25 16:06 NickPAYEbup".
Operation aborted
jono
Advertisement
is typical.. Any ideas?Error listing directory "/mnt/data".
Unexpected directory listing line "drwxr-xr-x 2 root 12288 Oct 25 16:06 NickPAYEbup".
Operation aborted
Advertisement
WinSCP expects group name in directory listing. Have you tried to check option "Alias LS to display group name" on "Shell" tab of Login dialog?Error listing directory "/mnt/data".
Unexpected directory listing line "drwxr-xr-x 2 root 12288 Oct 25 16:06 NickPAYEbup".
bash
in stead of my default tcsh
shell.
.bashrc
and .cshrc
(which seems to be the default shell on my system), something like
alias ls='ls -g'
(for bashrc
).
ls -l
, I get:
drwx------ 9 arino math 1024 Jan 14 18:35 .
drwx------ 9 arino 1024 Jan 14 18:35 .
bash
, I've tried clearing up the aliases, setting them, forcing LS, not forcing it, etc.
Advertisement
.bashrc
might not be invoked for WinSCP session. And naturally if you set "Clear aliases" it cannot work.
bash
shell, and now it works great :)
-rw-rw-rw- 1 admin administ5572351239 Jan 2 20:39 Movie.mkv
ls
to ls -lh
should solve the issue as bytes are then converted to human readable.
-rw-rw-rw- 1 admin administ 5.2G Jan 2 20:39 Movie.mkv
Advertisement
session.SynchronizeDirectories()
) does not include either owner or group in the default directory listing (ls -al
). I cannot make environment changes to this device, nor can I use SFTP/FTP. There are suggestions here to modify the directory listing command using sed
or something similar, but I can't see how to do this using the .NET assembly. The SessionOptions
class does not seem to include these options.
Advertisement
You can post new topics in this forum