Re: download a file in C3 throught php rederection
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Hi Octavio,
I think you may need to use HttpWebRequest/Response. HttpWebRequest has an AllowRedirect property that might be of use. You can check the HttpWebRequest.Address property to determine the redirected address.
On Mon, 16 May 2005 13:32:47 +0200, Octavio Filipe <0245078402@xxxxxxxxxx> wrote:
Hi there,
I'm trying to download a file, but i don't have the real link, i only
have a php page that redirects me to the real link...
I'm using
webClient.DownloadFile(DOWNLOAD_URL,"c:\\temp\\");
and I'm copying headers (just in case the server verifies then).
But still it doesn't work!
By the way DOWNLOAD_URL have the complete php link:
https://server.com/folder/certificates.php
Thanks in advance.
Octavio Filipe
--
Happy coding!
Morten Wennevik [C# MVP]
.
Relevant Pages
- download a file in C3 throught php rederection
... I'm trying to download a file, but i don't have the real link, i only have a php page that redirects me to the real link... ... (microsoft.public.dotnet.languages.csharp) - Re: Sleazerock?
... I've listened to it a dozen times, and I really dig it. ... real link that I can download for my Ipod? ... (alt.guitar) - Re: How save files Using WWW::Mechanize
... not a real link and username/passwd though. ... button a file download window popps up. ... 3.How to save this file to local disk? ... (comp.lang.perl.modules) - Re: Sleazerock?
... I've listened to it a dozen times, and I really dig it. ... real link that I can download for my Ipod? ... (alt.guitar) - Re: Click on movie link and only option is to save
... Sorry-this is what comes up on the in message that only lets me download the ... > You really need to help out with a real link, rather than a vague set of ... > instructions for one. ... (microsoft.public.windowsmedia.player) |
|