Click here to Skip to main content
15,893,663 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Colored comboboxes, checkboxes Pin
Nika12321-Oct-04 11:08
Nika12321-Oct-04 11:08 
Generaldatagrid hyperlink column Pin
Eng Nashwa20-Oct-04 14:06
Eng Nashwa20-Oct-04 14:06 
GeneralNew to html, please help Pin
includeh1020-Oct-04 6:10
includeh1020-Oct-04 6:10 
GeneralRe: New to html, please help Pin
alex.barylski20-Oct-04 9:52
alex.barylski20-Oct-04 9:52 
GeneralProblem with submit Pin
XGaMeS20-Oct-04 3:02
XGaMeS20-Oct-04 3:02 
GeneralRe: Problem with submit Pin
alex.barylski20-Oct-04 10:03
alex.barylski20-Oct-04 10:03 
GeneralRe: Problem with submit Pin
XGaMeS20-Oct-04 10:13
XGaMeS20-Oct-04 10:13 
GeneralWebRequest.Response takes long time... Pin
Member 140279719-Oct-04 23:03
Member 140279719-Oct-04 23:03 
Hi,

I am trying to download a file from server using WebRequest object. The following is my algorithm.

1. Create a WebRequest object
WebRequest req = WebRequest.Create(<url>);

2. Set the method to the request object
req.Method = "GET";

3. Set the current user credentials
req.Credentials = CredentialCache.DefaultCredentials;

4. Get the response
WebResponse res = req.GetResponse();

5. Get the response stream
Stream inStream - res.GetResponseStream();

6. Save the stream to the local file.

GetReponse takes lot of time and I want to optimize the same. Can anyone suggest me what settings I can make so that I can reduce the time. I will be downloading the files from within the intranet.

Thanks for any suggestions


V. Srinivas
GeneralRe: WebRequest.Response takes long time... Pin
Pradeep Shamarao28-Oct-04 19:32
Pradeep Shamarao28-Oct-04 19:32 
GeneralSelecting a Table Cell Pin
mnaveed19-Oct-04 22:03
mnaveed19-Oct-04 22:03 
GeneralRe: Selecting a Table Cell Pin
rihdus20-Oct-04 5:18
rihdus20-Oct-04 5:18 
GeneralRe: Selecting a Table Cell Pin
alex.barylski20-Oct-04 10:07
alex.barylski20-Oct-04 10:07 
Generalhttp POST return values Pin
Faded419-Oct-04 13:45
Faded419-Oct-04 13:45 
GeneralRe: http POST return values Pin
alex.barylski20-Oct-04 10:12
alex.barylski20-Oct-04 10:12 
GeneralRe: http POST return values Pin
Faded420-Oct-04 13:27
Faded420-Oct-04 13:27 
GeneralCSS reference not working on POSTBACKS Pin
devvvy18-Oct-04 17:53
devvvy18-Oct-04 17:53 
GeneralA Little Bit of Javascript Help Pin
Jacob Koppang18-Oct-04 16:07
Jacob Koppang18-Oct-04 16:07 
Generaluser modeling for an information retrieval project Pin
Pupik36018-Oct-04 3:02
Pupik36018-Oct-04 3:02 
GeneralURL Encoding - prevent &quot;|&quot; encoding as %7C Pin
Helix017-Oct-04 2:39
Helix017-Oct-04 2:39 
GeneralProblems with external.menuArguments.navigate() under SP2 Pin
Taka Muraoka15-Oct-04 20:36
Taka Muraoka15-Oct-04 20:36 
GeneralVBScript to check logins Pin
MSS41915-Oct-04 14:27
MSS41915-Oct-04 14:27 
GeneralBasic stuff... Pin
15-Oct-04 11:02
suss15-Oct-04 11:02 
GeneralRe: Basic stuff... Pin
alex.barylski15-Oct-04 11:51
alex.barylski15-Oct-04 11:51 
GeneralRe: Basic stuff... Pin
Member 144372817-Oct-04 1:58
Member 144372817-Oct-04 1:58 
GeneralCapturing user IP and date into SQL Server database Pin
melrose9915-Oct-04 9:55
melrose9915-Oct-04 9:55 

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.