开发者

how to capture internet file download file info in dot net

hell开发者_JAVA技巧o i am developing an dot net application in C# and i want to get the file download information like name,size etc so can any one tell me how i can do this ....Thank you...


You should use FileStream or like this not WebClient. You get file size with FileStream length method. If you want to learn file name you should parse url and get it.

I think you try to develop app like this. It has also multithreading. Look at this project.

http://www.codeproject.com/KB/IP/MyDownloader.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜