Re: File size of a downloadable file
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.