• 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: File size of a downloadable file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File size of a downloadable file


  • Subject: Re: File size of a downloadable file
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 17 Apr 2004 14:23:47 -0400

On Apr 17, 2004, at 2:02 PM, Pat Homelvig wrote:

Does anyone know how you might be able to programmatically get the size of a file you are going to download before you start downloading?

It depends on the protocol - For example, if you're using HTTP, you can do a HEAD request before starting the download with a GET or POST request, to get the file size, modification date, mime type, etc.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >File size of a downloadable file (From: Pat Homelvig <email@hidden>)

  • Prev by Date: SOLVED: Moving window to a given screen?
  • Next by Date: Re: OBJ-C question
  • Previous by thread: Re: File size of a downloadable file
  • Next by thread: Re: File size of a downloadable file
  • Index(es):
    • Date
    • Thread