батник:
Код:
winscp.com /console /command "open scp://root@10.0.6.102" "get /mnt/ufs/media/mmcblk0p1/Archive.csv d:\_tmp\" "exit"
и то что получается
Код:
D:\WinSCP-5.9.1-Portable>winscp.com /console /command "open scp://root@10.0.6.102" "get /mnt/ufs/media/mmcblk0p1/Archive.csv d:\_tmp\" "exit"
Searching for host...
Connecting to host...
Authenticating...
Using username "root".
Password:
Authenticated.
Starting the session...
Error getting name of current remote directory.
Command 'pwd'
failed with return code 0 and error message
-sh: groups: not found.
Session started.
Active session: [1] root@10.0.6.102

D:\WinSCP-5.9.1-Portable>
Вчера устанавливал пароль через Putty, но сегодня после включения контроллера пароль пропал. С этим тоже придется разбираться)