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: 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.
radha

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?
...
martin

Re: scp -1 invalid argument

Turn off "Use scp2 with scp1 compatibility" option on "Shell" tab of login dialog.
Guest

One other note

For the above problem that I reported (-1 option prob) I am running openssh on a Sun Solaris 8 system.
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?