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:email@example.com /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
Unfortunately I found no debug/error message like
"remote directory not found"
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.