File Copy Does Not Work

Advertisement

barrys
Joined:
Posts:
2

File Copy Does Not Work

Hi,
I am unable to copy files in either direction. The log is below. I am running ssh on W2K Server.

Please help.

Thanks
Barry
-----------

Copying 1 files/directories to remote directory "/cygdrive/d/test/"
PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No
FnCs: N; TM: B; 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 -1 -d -t "/cygdrive/d/test" ; echo "WinSCP: this is end-of-file:$?"
scp: not found
WinSCP: this is begin-of-file
inSCP: this is end-of-file:127
Waiting for data timed out, asking user what to do.
Asking user: :?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

Re: File Copy Does Not Work

Which Windows SSH server are you using? I'm using OpenSSH for Windows and it works fine.

Reply with quote

barrys
Joined:
Posts:
2

Re: File Copy Does Not Work

I figured it out.
For some reason, SCP.exe was not installed when Open SSH for windows was installed. I needed to manually copy over the scp.exe file to a directory in my PATH.

martin wrote:

Which Windows SSH server are you using? I'm using OpenSSH for Windows and it works fine.

Reply with quote

Advertisement

You can post new topics in this forum