This blog talks about getting a file size before downloading a file using Webclient.
System.Net.WebClient wc = new System.Net.WebClient();wc.OpenRead("http://patrickkroft.com/mp3/Pearl.mp3");Int64 bytes_total= Convert.ToInt64(wc.ResponseHeaders["Content-Length"])MessageBox.Show(bytes_total.ToString() + " Bytes");