curl / Mailing Lists / curl-users / Single Mail


Case 156708FE19: RE: Curl for downloading a file from SFTP server with wildcard

From: <>
Date: Fri, 8 Feb 2019 16:20:16 +0100

Hello Yogesh,

Could you kindly confirm 5-digit account number that is assosciated with Clearstream?
Thank you!
With kind regards,
Pragat Raj Kaur
Connectivity Support ICSD
 Technical Key Account Management
 T. +352 243 38110
 F. +352 243 63 81 10
 Clearstream Banking Luxembourg - Deutsche Boerse Group
 42 Avenue JF Kennedy¦ L-1855 Luxembourg

Original Text

 Sent: 08.02.19 11:31:34
 Subject: Curl for downloading a file from SFTP server with wildcard

Hi Everyone,
I am trying to download the txt file from a SFTP server. My curl includes a wildcard as the file name on server is constantly changing having some fixed characters. I get curl 79 or 78 error.Dont know what’s wrong. Any help would be appreciated !
Curl :
Curl -u UN:PW sftp://hostname/icaps/859011_20181011*_859011.txt --insecure -o myfile.txt
Error :   
             curl: (78) Could not open remote file for reading: No such file or directory
             curl: (79) Error in the SSH layer.
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is prohibited.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:

Received on 2019-02-08