cURL / Mailing Lists / curl-library / Single Mail

curl-library

ftp parse remote filesize from header

From: Jonas Schnelli <jonas.schnelli_at_include7.ch>
Date: Wed, 19 Oct 2011 16:34:34 +0200

Hi

Just to be sure and check other alternatives:
When getting only the header while loading a FTP file (CURLOPT_NOBODY = 1, CURLOPT_HEADER = 1), do i have to parse the header output?
Is the output generated by curl and will it be always the same (different servers)?
Or is there a more easy option to load the remote filesize / check if file exists on ftp/sftp?

Thanks

--
Jonas
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-19