cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl FTP - directory listing by file mask

From: Tor Arntsen <tor_at_spacetec.no>
Date: Fri, 28 Mar 2008 16:33:56 +0100

On Fri, Mar 28, 2008 at 4:11 PM, Alla Bogolubov <abogolub_at_opentext.com> wrote:
>[..]I doubt that *.txt is legal as a file name
> on UNIX. I was unable to create a file with this name on HP-UX or
> Solaris. [..]

$ uname -sr
SunOS 5.10

$ touch '*.txt'
$ 'ls' -lrt|tail -1
-rw-r--r-- 1 tor users 0 Mar 28 16:34 *.txt

-Tor
Received on 2008-03-28