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: Cannot login over command line and get file - Log ?

pstein wrote:

I ALREADY called winscp from cmd.exe!

So are there any other tricks to let me see the errors?

But have you called winscp.com? Not winscp.exe!
pstein

Re: Cannot login over command line and get file - Log ?

martin wrote:

Run winscp.com from console (cmd.exe) to avoid the output disappear.


I ALREADY called winscp from cmd.exe!

So are there any other tricks to let me see the errors?
martin

Re: Cannot login over command line and get file - Log ?

Run winscp.com from console (cmd.exe) to avoid the output disappear.
pstein

Cannot login over command line and get file - Log ?

I want to do the following from the commandline:
login on a remote computer go to directory /aaa/bbb
and get a file ccc.log to the local directory D:\mydata\

I entered (ignore possible line wraps):

winscp myname:mypw@xxx.xxx.xxx.xxx /aaa/bbb /command "get ccc.log D:\mydata"

After I hit the RETURN button some text seems to be displayed for a couple of milliceconds until the command terminates and return to the command prompt.
- WITHOUT having finished the task

Why ?

Unfortunately I found no debug/error message like
"Password wrong"
or
"remote directory not found"
or
....

How do I find out why winscp does not start the file transfer? Is there a verbose debug / log output ?

What is the default port? 22 ?

When I perform the same task through GUI everything works fine.

Peter