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…..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: