Click here to Skip to main content
15,843,623 members
Home / Discussions / C#
   

C#

 
Questionwhere is "Project Settings (ALT+F7)" of VC++6.0 in VS.NET ?? Pin
Anonymous31-Jan-04 3:17
Anonymous31-Jan-04 3:17 
AnswerRe: where is "Project Settings (ALT+F7)" of VC++6.0 in VS.NET ?? Pin
22491731-Jan-04 3:50
22491731-Jan-04 3:50 
AnswerRe: where is "Project Settings (ALT+F7)" of VC++6.0 in VS.NET ?? Pin
Mazdak31-Jan-04 5:45
Mazdak31-Jan-04 5:45 
GeneralProperties in a Winform Pin
StephenMcAllister31-Jan-04 0:18
StephenMcAllister31-Jan-04 0:18 
GeneralRe: Properties in a Winform Pin
Colin Angus Mackay31-Jan-04 2:28
Colin Angus Mackay31-Jan-04 2:28 
GeneralRe: Properties in a Winform Pin
StephenMcAllister31-Jan-04 20:31
StephenMcAllister31-Jan-04 20:31 
GeneralRe: Properties in a Winform Pin
Colin Angus Mackay1-Feb-04 2:40
Colin Angus Mackay1-Feb-04 2:40 
Generalhttp/ftp download redirection problem Pin
Member 85084030-Jan-04 23:32
Member 85084030-Jan-04 23:32 
I am trying to create a download program similar to flashget but I have come across a problem. Some of the files as you would know are retrieved by using ftp and others http. I have had no problem to download either of these but I found some download links are http to start off with and then are redirected to ftp. Here is the code I am using for http downloads:

<br />
HttpWebRequest myHttpWebRequest = (HttpWebRequest)HttpWebRequest.Create(fullFileName);<br />
myHttpWebRequest.MaximumAutomaticRedirections=100;<br />
myHttpWebRequest.AllowAutoRedirect = true;					<br />
HttpWebResponse myHttpWebResponse;<br />
myHttpWebResponse=(HttpWebResponse)myHttpWebRequest.GetResponse();<br />
myHttpWebResponse.Close();<br />


The problem is files such as http://download.com.com/redir?pid=8132587&merid=50220&mfgid=50220<ype=dl_dlnow&lop=link&edId=3&siteId=4&oId=3002-20-8132587&ontId=20&dlrs=1&destUrl=ftp%3A%2F%2Fftpx.download.com%2Fpub%2Fwin95%2Futilities%2Ffilecomp%2Fwinzip81.exe get redirected to ftp and therefor cause a System.Net.WebException with the following message: "Cannot handle redirect from http/https protocols to other dissimilar ones.". This is understandable, but how do I go about redirecting the http download to ftp. I could do it easily if I were to get the ftp address. It is in the actual url above but in many other cases it won't be part of the url so could someone please help me out in solving this problem?
GeneralIntercept incoming html Pin
lustuyck30-Jan-04 23:04
lustuyck30-Jan-04 23:04 
GeneralRe: Intercept incoming html Pin
Dmitriy Kostovetskiy31-Jan-04 10:23
Dmitriy Kostovetskiy31-Jan-04 10:23 
GeneralRe: Intercept incoming html Pin
Anonymous1-Feb-04 0:34
Anonymous1-Feb-04 0:34 
GeneralRe: Intercept incoming html Pin
Nick Parker1-Feb-04 8:28
protectorNick Parker1-Feb-04 8:28 
GeneralRe: Intercept incoming html Pin
Anonymous1-Feb-04 11:40
Anonymous1-Feb-04 11:40 
GeneralSearch pdf contents Pin
Mahesh Varma30-Jan-04 20:47
Mahesh Varma30-Jan-04 20:47 
GeneralTextbox.lines[] Pin
gsrajput30-Jan-04 18:03
gsrajput30-Jan-04 18:03 
GeneralRe: Textbox.lines[] Pin
Kentamanos30-Jan-04 21:15
Kentamanos30-Jan-04 21:15 
GeneralRe: Textbox.lines[] Pin
Colin Angus Mackay31-Jan-04 2:36
Colin Angus Mackay31-Jan-04 2:36 
GeneralRe: Textbox.lines[] Pin
gsrajput31-Jan-04 5:38
gsrajput31-Jan-04 5:38 
GeneralHiding WinForm app from ALT-TAB Pin
gordingin30-Jan-04 16:47
gordingin30-Jan-04 16:47 
GeneralTypeInitializationException Pin
pahluwalia30-Jan-04 12:30
pahluwalia30-Jan-04 12:30 
GeneralRe: TypeInitializationException Pin
Broken God1-Feb-04 19:58
Broken God1-Feb-04 19:58 
GeneralRe: TypeInitializationException Pin
pahluwalia2-Feb-04 5:04
pahluwalia2-Feb-04 5:04 
QuestionHow to make print preview maximized? Pin
blakeb_130-Jan-04 11:51
blakeb_130-Jan-04 11:51 
AnswerRe: How to make print preview maximized? Pin
Heath Stewart30-Jan-04 11:58
protectorHeath Stewart30-Jan-04 11:58 
GeneralRe: How to make print preview maximized? Pin
blakeb_130-Jan-04 12:02
blakeb_130-Jan-04 12:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.