scp -1 invalid argument

Advertisement

Guest

scp -1 invalid argument

On my host system I am running openssh 3.5p1
When I try to transfer files I gedt the following error:
. Copying 1 files/directories to local directory "C:\Documents and Settings\User\My Documents\"
. PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: Yes
. FnCs: N; TM: M; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex
> echo "WinSCP: this is begin-of-file" ; scp -r -p -1 -d -f "axinstall" ; echo "WinSCP: this is end-of-file:$status"
! scp: illegal option -- 1
! usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]
! [-c cipher] [-i identity] [-o option]
! [[user@]host1:]file1 [...] [[user@]host2:]file2
< WinSCP: this is begin-of-file

How can I turn off the -1 option in winscp2?

Reply with quote

Advertisement

radha
Guest

Re: scp -1 invalid argument

When I try to transfer files I get the following error:
Usage: scp [-pqrvBC46] [-F config] [-S program] [-P port]
[-c cipher] [-i identity] [-o option]
[[user@]host1:]file1 [...] [[user@]host2:]file2

Can some one please help on this?
...

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: scp -1 invalid argument

Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum