Topic "Cannot copy files from WindowsXP PC to remote UNIX server"

Author Message


I installed and started WinSCP 3.0, and have connected to my remote server successfully. My problem is when I try to copy a file from my PC to the server (Ensim control panel). I have scanned the forum for help, but I am lost as to what I need to do. I am a novice in dealing with most of these things, so please explain in detail. Attached is the log of the error:

Copying 1 files/directories to remote directory "/var/lib/mysql/statswiz_com_-_polls/"
PrTime: Yes; PrRO: Yes; Rght: rwxrwxr--; PrR: Yes; FnCs: N; Resume: S (10240)
TM: M; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
echo "WinSCP: this is begin-of-file" ; scp -r -p -1 -d -t "/var/lib/mysql/statswiz_com_-_polls" ; echo "WinSCP: this is end-of-file:$?"
WinSCP: this is begin-of-file
scp: illegal option -- 1
usage: scp [-pqrvBC46] [-F config] [-S ssh] [-P port] [-c cipher] [-i identity]
[-o option] f1 f2
or: scp [options] f1 ... fn directory
inSCP: this is end-of-file:1
Waiting for data timed out, asking user what to do.
Asking user:
Host hasn't answered for 15 seconds.

Wait for another 15 seconds? Pressing 'Abort' button will close session. ()
Attempt to close connection due to fatal exception:
Closing connection.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
You server does not have scp1 binary or it is not in path. Try to select SFTP protocol on login dialog.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License