Minggu, 29 Agustus 2010

Get File Length over http before you download it

This is one of those forum questions that you “think” you know the answer to, and then you’re proven wrong.User wants to download a file from a remote site but they do not want to proceed with the download if the file is larger than 10MB. Make sense, right? I said there was no way to do this without downloading the file. I was wrong. Here’s how he solved his own problem: static void Main(string[]

Tidak ada komentar:

Posting Komentar