cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Test for file existence by ftp?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 27 Mar 2005 21:38:25 -0800

That was -I, not -l.

On Mon, Mar 28, 2005 at 09:40:26AM +1200, Owen Watson wrote:
> All the -l switch does is give a directory listing; no different
> output whether the particular file exists or not. I was hoping there
> was a switch that said a file did or did not exist without getting the
> dir contents or downloading the file.
>
>
> On Sun, 27 Mar 2005 14:54:20 +0200 (CEST), Daniel Stenberg
> <daniel-curl_at_haxx.se> wrote:
>
> > Yes:
> >
> > curl -I [URL]
> >
Received on 2005-03-28