cURL / Mailing Lists / curl-library / Single Mail


NLST with *.txt

From: Mehmet Bozkurt <>
Date: Thu, 26 Aug 2010 14:57:46 +0200


Is it possible to perform an NLST with a file patter? Such as "NLST *.txt",
which would return a
list with only the .txt files in a given directory.

I have tried manually doing it with CURLOPT_QUOTE, but it is a bit
cumbersome and error prone.
An alternative would be to filter out the result of a regular NLST with some
kind of pattern matching
after fetching the result from the server, but this would mean unnecessary
traffic on the wire.

Best regards,

List admin:
Received on 2010-08-26