NetWork disconnection during download

Jan 26, 2012 at 4:27 AM

Hi

When the network is disconnected during the download or upload ,

download(or upload) funtion is called to remain without throwing an exception.

I want to catch an exception in such a situation immediately.

Any way to catch exception ?

Thanks a lot.

 

 

 

Jan 27, 2012 at 4:35 AM

Hi 

I found the reason why couldn't catch exception immediately . 

I read Source Code which version is "SharpBox 1.2", "ReadWriteTimeout" Propaty of HttpWebRequest is  Timeout.Infinite.

I want to change the "ReadWriteTimeout" Property manually(Change depending on the situation).

May you make sharpbox (ver 1.2) new property which I can freely change HttpWebRequest's "Timeout" and "ReadWriteTimeout" property  

Coordinator
Jan 27, 2012 at 7:28 AM
Hi,

yes I can do, please open an issue for this or just submit a patch with your idea of the solution.

Dirk

Sent from my iPad

On 27.01.2012, at 05:35, hidetakahashi3 <notifications@codeplex.com> wrote:

From: hidetakahashi3

Hi

I found the reason why couldn't catch exception immediately .

I read Source Code which version is "SharpBox 1.2", "ReadWriteTimeout" Propaty of HttpWebRequest is Timeout.Infinite.

I want to change the "ReadWriteTimeout" Property manually(Change depending on the situation).

May you make sharpbox (ver 1.2) new property which I can freely change HttpWebRequest's "Timeout" and "ReadWriteTimeout" property

Jan 27, 2012 at 8:18 AM

Hi Dirk

Thank you for quickly answer !

I will open an issue !

Thanks a lot !