Topic "Can WinSCP output to my current console window, no popups?"

Author Message
Henry

Guest


I try to download and upload a file from the command line, and I want the output from WinSCP to the same console window from where I called it, so I can process things from .bat files.

For example, I upload a file like this:

C:\Utils\winscp410.exe MyName:MyPassword@myserver.com:22/home/bla/ /console /upload C:\Temp\MyFile.zip /defaults

But this opens a separate console window, instead of just outputting to my current console (from where I called WinSCP).

If I leave the /console option away, I get other popups - which isn't actually a problem, until an error occurs (e.g. file not found). Then I get an error popup, instead of WinSCP just closing wiht an error code.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Use winscp.com. See documentation.

Quote:
If I leave the /console option away, I get other popups - which isn't actually a problem, until an error occurs (e.g. file not found). Then I get an error popup, instead of WinSCP just closing wiht an error code.

What popups do you get?
_________________
Martin Prikryl
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