Posted: 2008-02-07 17:26
I am trying to get a file list from the server via
"C:\Program Files\WinSCP\WinSCP.exe" MySESSION /command "ls -l * >test.txt" "exit" /log=test.log
But test.txt was not generated. Is something wrong?
It works if I use "call ls -l * >test.txt" on /script=test.spt. But the remote server doesn't allow CALL command.
Location: Prague, Czechia
You may use only WinSCP scripting commands after /command. Why doesn't "call" work?
You can post new topics in this forum
And it's free!