Topic "Help!!!! Can not copy file! Command failed with return code 255."

Author Message
clement woo
[View user's profile]

Joined: 2003-04-17
Posts: 1
I try to copy text file from ftp server to my loptop, but it failed every time with the return code 255. What is the cause of this problem? Where is the Help directory from the application (usually is found in the application menu)?
Please help me.

regards,
Clement Woo
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Please search the forum, this was asked too many times already. Also, there is no help yet, only this forum.
_________________
Martin Prikryl
clement_woo

Guest


Hi,

Below is the log file that indicate that scp1 is required.
1. Where can I get the scp1 (is it a file?)?
2. The PATH, is refer to the server that I am trying to transfer the file from? Does it need to be in /user directory only, or the particular path in the server that the targeted file is?

Thanks.

Copying 1 files/directories to local directory "C:\DOCUME~1\CLEMEN~1\LOCALS~1\Temp\scp57655\"
PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No
FnCs: N; 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 -d -f "misys.syd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is begin-of-file
Sending NULL.
scp: warning: Executing scp1 compatibility.
scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH).
WinSCP: this is end-of-file:255
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
clement_woo wrote:
1. Where can I get the scp1 (is it a file?)?

It is a tool (program). For example on OpennSSH server, it is part of client-package, which is not installed by default in latest versions.
Quote:
2. The PATH, is refer to the server that I am trying to transfer the file from? Does it need to be in /user directory only, or the particular path in the server that the targeted file is?

Yes, it refers to the server.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License