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: 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 DOT masaomi AT fujitsu DOT com" , "'cygwin AT cygwin DOT com'" References: Organization: ACME In-Reply-To: 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Cyrille Lefevre via Cygwin Reply-To: Cyrille Lefevre Cc: "'soft-mpop-qqm AT ml DOT css DOT fujitsu DOT com'" Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit 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