cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: I have a question about the wildcard on the sftp server.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 13 Dec 2013 15:50:53 +0100 (CET)

On Thu, 12 Dec 2013, ?????? wrote:

> I have a question about the wildcard on the sftp server.

SFTP in itself has no wildcard support.

> I want to list the directory and get information of files , but the path
> contains wildcard (example
> sftp://admin:admin@132.40.130.35:22/ogsapp/tmp/hebh/sftptest/* )

libcurl doesn't support wildcards for SFTP directory listings, but you can
list the files in a directory by ending the URL with a trailing slash.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-13