If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

FtpWebRequest doesn't work in parallel threads

I work with C# 2.0 VC2008.
I use a number of Background Workers for open multiply FTP Connections to same FTP Server. The connections are in an Active FTP Mode. When I start 2 connections together, the first one is working properly and the second stops after the connection has been established good and waits for Data ( get data only after the first connection closed ). When I run two applications with one FTP Session for each, I haven't any problem.

Re: FtpWebRequest doesn't work in parallel threads

NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.

Re: FtpWebRequest doesn't work in parallel threads

Yes, actually same application, has run twice with one connection each, is connecting and getting data perfect. On specific server I can open only 2 connections simultaneously, because system limitation.