Re: Download file size
Re: Download file size
- Subject: Re: Download file size
- From: Enrique Zamudio <email@hidden>
- Date: Mon, 08 Oct 2001 21:22:57 -0500
- Organization: Nasoft
Have you tried just passing the string "content-length" ???
That's probably what the web server will return anyway. My guess is that
the propertyForKey: method gets the HEAD for the URL from the web server
and then returns the header you asked for...
If that doesn't work, perhaps you can try to change the method that the
URL uses, so that you can set it to HEAD instead of GET, and then get
all the headers in the response, so that you can get the content-length
before downloading the file.
eZL