如何使用WebREQUEST登录下载文件? [英] HOW TO DOWNLOAD A FILE USING WEBREQUEST WITH LOGGING IN?

查看:82
本文介绍了如何使用WebREQUEST登录下载文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发像IDM这样的下载管理器。我可以使用WebRequest完美地下载文件,速度提高4倍,但需要下载成员资格的网站除外。例如这个站点codeproject.com。当我想下载上传到此URL的文件MyDownloader_src.zip MyDownloader:多线程C#分段下载管理器 [ ^ ]。下载文件的扩展名为aspx,大小仅为40 kb。这是因为会员资格。我在谷歌搜索问题,但许多解决方案很复杂或与我的问题无关。我怎么能解决这个问题?



先谢谢你。

I am working on a download manager like IDM. I can download files perfectly and 4 times faster using WebRequest except sites that membership is required to download. For example this site codeproject.com. When I want to download the file "MyDownloader_src.zip" that is uploaded to this URL MyDownloader: A Multi-thread C# Segmented Download Manager[^]. The downloaded file's extension is aspx and its size is just 40 kb. This is because of membership. I search the question on google but many solves is complicated or arent related to my problem.How can i solve this problem?

Thanks in Advance.

推荐答案

这篇关于如何使用WebREQUEST登录下载文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆