Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: FindString Problem Pin
Luc Pattyn12-Sep-07 4:06
sitebuilderLuc Pattyn12-Sep-07 4:06 
QuestionSemi automatic forground video segmentation Pin
ptr_Electron12-Sep-07 0:48
ptr_Electron12-Sep-07 0:48 
AnswerRe: Semi automatic forground video segmentation Pin
Ed.Poore12-Sep-07 2:09
Ed.Poore12-Sep-07 2:09 
QuestionDownload multiple files? [modified] Pin
bug_aonz12-Sep-07 0:35
bug_aonz12-Sep-07 0:35 
AnswerRe: Download multiple files? Pin
Mark Swaanenburg12-Sep-07 2:23
Mark Swaanenburg12-Sep-07 2:23 
AnswerRe: Download multiple files? Pin
Scott Dorman12-Sep-07 8:18
professionalScott Dorman12-Sep-07 8:18 
QuestionRe: Download multiple files? Pin
bug_aonz12-Sep-07 17:11
bug_aonz12-Sep-07 17:11 
AnswerRe: Download multiple files? Pin
Scott Dorman13-Sep-07 4:16
professionalScott Dorman13-Sep-07 4:16 
HTTP is inherently a stateless connection, and only keeps a connection open long enough to transfer the data. Using any of the HttpWeb classes, you won't be able to open a connection to a folder and then download files. You need to open a connection for each file you want to download.

In general, any time you are doing disk I/O operations (like saving the file as it is being downloaded) you should use async calls.

To do what you want you would need to program directly at the socket level, which is possible but not trivial.

If you have control over the files at the other end, you could create an archive of the files and download that instead of each individual file.


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: Download multiple files? Pin
bug_aonz13-Sep-07 16:56
bug_aonz13-Sep-07 16:56 
QuestionHow to check in form2 if a button on form1 has been clicked Pin
Lucy12-Sep-07 0:20
Lucy12-Sep-07 0:20 
AnswerRe: How to check in form2 if a button on form1 has been clicked Pin
blackjack215012-Sep-07 0:33
blackjack215012-Sep-07 0:33 
GeneralRe: How to check in form2 if a button on form1 has been clicked Pin
Lucy12-Sep-07 0:54
Lucy12-Sep-07 0:54 
AnswerRe: How to check in form2 if a button on form1 has been clicked Pin
Malcolm Smart12-Sep-07 1:00
Malcolm Smart12-Sep-07 1:00 
AnswerRe: How to check in form2 if a button on form1 has been clicked Pin
Xmen Real 12-Sep-07 1:24
professional Xmen Real 12-Sep-07 1:24 
GeneralRe: How to check in form2 if a button on form1 has been clicked Pin
Lucy12-Sep-07 1:29
Lucy12-Sep-07 1:29 
GeneralRe: How to check in form2 if a button on form1 has been clicked Pin
Xmen Real 12-Sep-07 1:31
professional Xmen Real 12-Sep-07 1:31 
GeneralRe: How to check in form2 if a button on form1 has been clicked Pin
Lucy12-Sep-07 1:32
Lucy12-Sep-07 1:32 
GeneralRe: How to check in form2 if a button on form1 has been clicked Pin
Xmen Real 12-Sep-07 1:35
professional Xmen Real 12-Sep-07 1:35 
GeneralRe: How to check in form2 if a button on form1 has been clicked Pin
Pete O'Hanlon12-Sep-07 1:49
mvePete O'Hanlon12-Sep-07 1:49 
AnswerRe: How to check in form2 if a button on form1 has been clicked Pin
Anthony Mushrow12-Sep-07 2:02
professionalAnthony Mushrow12-Sep-07 2:02 
AnswerRe: How to check in form2 if a button on form1 has been clicked Pin
Paras Kaneriya12-Sep-07 22:32
Paras Kaneriya12-Sep-07 22:32 
Question[Message Deleted] Pin
P_Elza12-Sep-07 0:12
P_Elza12-Sep-07 0:12 
AnswerRe: Go to a particular node. Pin
Mark Churchill12-Sep-07 0:14
Mark Churchill12-Sep-07 0:14 
GeneralRe: Go to a particular node. Pin
P_Elza12-Sep-07 0:56
P_Elza12-Sep-07 0:56 
AnswerRe: Go to a particular node. Pin
Xmen Real 12-Sep-07 1:29
professional Xmen Real 12-Sep-07 1:29 

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.