public knowledge blog_load(sender Virendra)

                                                                                                             Nothing shocks me, I am a Software Engineer.

Get size of a file placed on any web server

Posted by Virendra Dugar on June 25, 2009

Download Source Code

This post demonstrate you that how can you find the size of file which is placed on any webserver.

I have placed a label, a textbox and a button on an aspx page.  Textbox will be having valid URL with the file name.
i.e. http://www.abc.com/xyz.pdf

On button click, Place this code

Code

That’s it..

Enjoy…..

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>