Download file from aspx response

  • Thread starter Thread starter RC
  • Start date Start date
R

RC

I have created an aspx page response for user to Download file from server

Code:
http://support.microsoft.com/kb/812406/EN-US/

And try to DL from that page to PPC by following code
http://www.codeguru.com/Csharp/Csharp/cs_network/internetweb/print.php/c7005/

However I got error when running
response = request.GetResponse(); line

Error Code:
The remote server returned an error: (404) Not Found.

I am sure I can download the file from both IE and Pocket IE and the path is
correctly....Can anybody give me some hint about solving the problem?

Thanks
 
Check the server web log. You will see what was the actual request
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top