X-Recipient: archive-cygwin@delorie.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@cygwin.com
Delivered-To: cygwin@cygwin.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.
Content-Language: fr
To: "suzuki.masaomi@fujitsu.com" <suzuki.masaomi@fujitsu.com>,
        "'cygwin@cygwin.com'" <cygwin@cygwin.com>
References: <TYCPR01MB6818607796F45A8DB98EF21B87899@TYCPR01MB6818.jpnprd01.prod.outlook.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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Cyrille Lefevre via Cygwin <cygwin@cygwin.com>
Reply-To: Cyrille Lefevre <cyrille.lefevre-lists@laposte.net>
Cc: "'soft-mpop-qqm@ml.css.fujitsu.com'" <soft-mpop-qqm@ml.css.fujitsu.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 26GEAx6w013518

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


-- 
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

