• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Download file size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Download file size
      • From: Marc Laffitte <email@hidden>
  • Prev by Date: Re: Cocoa newbie frustration
  • Next by Date: Problem with TIFF alpha channel
  • Previous by thread: Download file size
  • Next by thread: Re: Download file size
  • Index(es):
    • Date
    • Thread