By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,671 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,671 IT Pros & Developers. It's quick & easy.

Getting file size on http resource

P: n/a
How can I get size of file on http resource?
For example I want to get the total size of the file which is located on
http://mysite.com/myfile.zip.
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
depending on the web server, you can issue an HTTP HEAD request or an HTTP
OPTIONS request to get this information.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Mark" <da*********@hotmail.com> wrote in message
news:eA**************@tk2msftngp13.phx.gbl...
How can I get size of file on http resource?
For example I want to get the total size of the file which is located on
http://mysite.com/myfile.zip.

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.