WebClient for multi-connections?# DotNet - 窗口里的风景
G*T
1 楼
how to use WebClient for multi-connections for one server?
I'm trying to use WebClient to download files from a server. I use
multi-thread, each thread for one file. However, I find that I can only use at
most 2 threads. If I use > 2 threads at the same time, then WebClient will
have some exceptions. I tried to download > 2 files from IE6. It seems we can
only download 2 files at the same by using IE6. The third file won't begin to
be downloaded before one of the first two finished. However, if
I'm trying to use WebClient to download files from a server. I use
multi-thread, each thread for one file. However, I find that I can only use at
most 2 threads. If I use > 2 threads at the same time, then WebClient will
have some exceptions. I tried to download > 2 files from IE6. It seems we can
only download 2 files at the same by using IE6. The third file won't begin to
be downloaded before one of the first two finished. However, if