Topic "How to trap output running linemode"

Author Message
madams
[View user's profile]

Joined: 2008-08-15
Posts: 2
Location: San Jose, CA. USA
Running WinSCP416 on Windows XP

Just wondering if anyone knows how to redirect the output when running winscp in line mode using /script

Since it spawns a second dos window the normal redirect syntax does not work.

I'm running the standalone executable "winscp416.exe".

Everything works great, I just need to append to a logfile for reference. The /log option has way do much detail.

Thanks for any help!!!!
Mike
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Use winscp.com, instead of winscp.exe, and use normal output redirection:
Code:
winscp.com > output

See documentation.
madams
[View user's profile]

Joined: 2008-08-15
Posts: 2
Location: San Jose, CA. USA
Will that work with the standalone executable(winscp416.exe)? Do I need to do a standard installation on another computer to get the winscp.com and copy it to the same directory as the winscp416.exe? Does that then know to call winscp416.exe?

Thanks,
Mike
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
madams wrote:
Will that work with the standalone executable(winscp416.exe)? Do I need to do a standard installation on another computer to get the winscp.com and copy it to the same directory as the winscp416.exe? Does that then know to call winscp416.exe?

Yes you need to get the .com from installation. You have to match names of the .com and the .exe in either way.
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