curl-library
Re: How do I know if I must upload a file if SIZE is not available at the FTP server?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Oct 2002 09:43:32 +0200 (MET DST)
Date: Wed, 16 Oct 2002 09:43:32 +0200 (MET DST)
On Tue, 15 Oct 2002, Guido Reina wrote:
> Do I have to go to the directory and do 'ls -l' and get the size? or is
> there an easier way?
If SIZE isn't supported by the server, "ls -l" is your only choice, AFAIK.
And that is a true can of worms, as there's no standard formatting for that
so you can basicly get any kind of output!
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfmReceived on 2002-10-16