delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/14/04:59:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
Subject: scp with DOSish paths
MIME-Version: 1.0
Date: Wed, 14 Jul 2004 10:59:01 +0200
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC1760E5@esmail.elsag.de>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg DOT Schaible AT Elsag-Solutions DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i6E8xEcW023514

Hello,

can anything be done (environmetn variable, option ?), that would allow scp to support DOSish absolute paths?

$ pwd
/cygdrive/c

$ scp 'C:\test\file.txt' host:/target/
ssh: C: no address associated with name

$ scp '\test\file.txt' host:/target/
\test\file.txt: No such file or directory

$ scp 'test\file.txt' host:/target/
test\file.txt                                                    100% 7395     7.2KB/s   00:00 


Background: scp is called by a Java application (Maven) and I cannot even wrap the call with a script.

-- Jörg

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


- Raw text -


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