开发者

Page to download a file requires processing in webclient

I'm trying to use a java servlet in a 3rd party tool's web interface (CA service desk) to invoke it's download file functionality using a webclient in vb.net. The trouble is the text stream from response is markup and not the acutual text file stream.

It's like the page is redirecting to another page which actually presents the file for downloading. I have no idea what the redirected page URL is.

Is there开发者_如何学编程 a way I can process this redirected page in order to get at the download using a system.net.webclient?

Thanks!


Turn on logging for System.Net. You'll be able to see the full HTTP headers that are being sent and received. I'd recommend doing this from a desktop application and once you figure out the magic sequence then porting it to a web application.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜