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