Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Can WinSCP output to my current console window, no popup

Use winscp.com. See documentation.

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?
Henry

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

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.