Cannot copy files from WindowsXP PC to remote UNIX server

Advertisement

Guest
Guest

Cannot copy files from WindowsXP PC to remote UNIX server

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.

Reply with quote

Advertisement

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

Re: Cannot copy files from WindowsXP PC to remote UNIX server

You server does not have scp1 binary or it is not in path. Try to select SFTP protocol on login dialog.

Reply with quote

Advertisement

You can post new topics in this forum