curl-library
Re: FTP get creation date
Date: Sat, 05 Sep 2009 17:49:52 +0200
Hi Daniel,
Daniel Stenberg schrieb:
> On Fri, 4 Sep 2009, Peter Soxberger wrote:
>
>> How can I get the creation date of a file with FTP? Does anybody have
>> an example?
>
> Specify the URL to the file, then set CURLOPT_FILETIME.
I've just added a sample for that since I found such a question appear a
couple of times on the list; however I'm not able to supress the header
output:
http://cool.haxx.se/cvs.cgi/curl/docs/examples/ftpgetinfo.c?rev=1.1&content-type=text/vnd.viewcvs-markup
I found in the TODO:
http://curl.haxx.se/docs/todo.html#http_style_HEAD_output_for_ftp
does this mean that its currently not possible to supress the header
output with ftp?
OT:
http://curl.haxx.se/docs/todo.html#PORT_port_range
isnt this already realized now?
Gün.
Received on 2009-09-05