delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/16/10:11:00

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50AE1385800D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1657980657;
bh=dUhpbD/MG4sTvzQQNC0QheZBlbA/dKW/5f0y6N/lcWY=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=Gbvy5srxg3ZZp8zMiLcq3C1ZwFyYSrqpBgqNiuiBv+JvZ7/yMOKgmeDZZWW38eQyQ
HCtqE6HehagLw9FHVW4/zllYhVWIJGRVZwYYVXJ4tXuWS/owb1auH3FOAHBz8heUw1
K77oEf2n5iMoEghsX24qR0BnS5GtPee0LIZUk0uk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A444C3858412
X-mail-filterd: {"version":"1.4.3", "queueID":"4LlVVd4jpGz1spVB",
"contextId":"5e44cb2a-92db-4eb0-83bd-a2139a5520cd"}
X-mail-filterd: {"version":"1.4.3", "queueID":"4LlVVd14Qcz1spV8",
"contextId":"a5b12f5e-1b2d-4062-8484-bfe423bc9150"}
X-lpn-mailing: LEGIT
X-lpn-spamrating: 50
X-lpn-spamlevel: not-spam
Message-ID: <f80d2b2b-c187-5033-4813-44e3f8e15d6d@laposte.net>
Date: Sat, 16 Jul 2022 16:10:16 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3)
Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
Subject: Re: scp command fails to transfer file and returns 1.
To: "suzuki DOT masaomi AT fujitsu DOT com" <suzuki DOT masaomi AT fujitsu DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <TYCPR01MB6818607796F45A8DB98EF21B87899 AT TYCPR01MB6818 DOT jpnprd01 DOT prod DOT outlook DOT com>
Organization: ACME
In-Reply-To: <TYCPR01MB6818607796F45A8DB98EF21B87899@TYCPR01MB6818.jpnprd01.prod.outlook.com>
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP,
WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Cyrille Lefevre via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cyrille Lefevre <cyrille DOT lefevre-lists AT laposte DOT net>
Cc: "'soft-mpop-qqm AT ml DOT css DOT fujitsu DOT com'" <soft-mpop-qqm AT ml DOT css DOT fujitsu DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 26GEAx6w013518

Le 13/07/2022 à 09:41, suzuki DOT masaomi AT fujitsu DOT 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 DOT Lefevre-lists AT laposte DOT net


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019