scp command fails to transfer file and returns 1.
Cyrille Lefevre
cyrille.lefevre-lists@laposte.net
Sat Jul 16 14:10:16 GMT 2022
Le 13/07/2022 à 09:41, suzuki.masaomi@fujitsu.com a écrit :
> As a result of debugging our application program, the scp command returned the following message.
>
> /usr/bin/scp: dest open ""/tmp/a"": No such file or directory
> /usr/bin/scp: failed to upload file /cygdrive//C/test/a to "/tmp/a"
Hi,
it seems your application is calling scp with " around the arguments,
so, scp try to copy "/tmp/a" instead of just /tmp/a.
Regards,
/me
--
mailto:Cyrille.Lefevre-lists@laposte.net
More information about the Cygwin
mailing list