Hi
I am uploading files to my ASP script one by one - from C#
application. Each time little upload form is created with
backgroundworke r in it. When I try to upload THIRD file the worker is
stuck on getting requeststream.
WebRequest req = WebRequest.Crea te(url);
req.Method = "POST";
//Headers
req.ContentType = "multipart/form-data";
req.ContentLeng th = fileSize;
req.Headers.Add ("Name",file.Na me);
req.Headers.Add ("Path", path);
req.Headers.Add ("SessionID" , session);
/// stuck here
Stream stream = req.GetRequestS tream();
When I debug it on the server during third time, the Page_Load event
is not even called.
Do you have any idea what could that be?
Best Regards
PK
I am uploading files to my ASP script one by one - from C#
application. Each time little upload form is created with
backgroundworke r in it. When I try to upload THIRD file the worker is
stuck on getting requeststream.
WebRequest req = WebRequest.Crea te(url);
req.Method = "POST";
//Headers
req.ContentType = "multipart/form-data";
req.ContentLeng th = fileSize;
req.Headers.Add ("Name",file.Na me);
req.Headers.Add ("Path", path);
req.Headers.Add ("SessionID" , session);
/// stuck here
Stream stream = req.GetRequestS tream();
When I debug it on the server during third time, the Page_Load event
is not even called.
Do you have any idea what could that be?
Best Regards
PK
Comment