Topic "redirection via the winscp.exe"

Author Message
Guest




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
Advertisements
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Anonymous wrote:
So, could redirection be added to winscp.exe?

No, Windows do not allow that.

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

Use XML logging instead.
_________________
Martin Prikryl
Guest




Thanks, Martin. I'll check in to the XML logging. - Scott
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License