Can't copy files from a remote server [scp: illegal option]
I can login and view the file list, but can't upload files. My remote server does not seem to accept some of the options for scp set by WinSCP. How to solve this problem ? Thanks in advance !
Here is the error message.
> echo "WinSCP: this is begin-of-file" ; scp -r -1 -d -t "/home/myself/myfile" ; echo "WinSCP: this is end-of-file:$?"
! scp: illegal option -- 1
< WinSCP: this is begin-of-file
! usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]
! [-c cipher] [-i identity] [-o option]
! [[user@]host1:]file1 [...] [[user@]host2:]file2
< inSCP: this is end-of-file:1
Here is the error message.
> echo "WinSCP: this is begin-of-file" ; scp -r -1 -d -t "/home/myself/myfile" ; echo "WinSCP: this is end-of-file:$?"
! scp: illegal option -- 1
< WinSCP: this is begin-of-file
! usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]
! [-c cipher] [-i identity] [-o option]
! [[user@]host1:]file1 [...] [[user@]host2:]file2
< inSCP: this is end-of-file:1