redirection via the winscp.exe

Advertisement

Guest

redirection via the winscp.exe

winscp.exe does everything I need for automation, except for output redirection of the LS command. In the forum I see that output direction can only be done by winscp.com. So, could redirection be added to winscp.exe? Or could a redirection option be added to the LS command, like the following?
ls *.* /Redirect=C:\DirectoryList.txt
Thanks, Scott

Reply with quote

Advertisement

Guest

PS Alternately, if it is not possible to add output redirection for the LS command to the winscp.exe, could the winscp.com file be added standalone next to the download of the winscp.exe command so that the full install would not need to be done to get the winscp.com file? Thanks, Scott

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: redirection via the winscp.exe

Anonymous wrote:

So, could redirection be added to winscp.exe?
No, Windows do not allow that.

Or could a redirection option be added to the LS command, like the following?
ls *.* /Redirect=C:\DirectoryList.txt
Use XML logging instead.

Reply with quote

Advertisement

You can post new topics in this forum