FTPWebRequest upload files upload only two files!

Hi, I use the asynchronous members of WebRequest to upload files to the IIS ftp server.

I can upload two files with success. However, the BeginGetResponse in the third file never causes my feedback!

Any ideas are welcome?

thanks,

John

+3
source share
2 answers

A few ideas:

  • make requests synchronously and see if the problem persists. if not, then start looking carefully at this third file (is it HUUUUUUUUUUGEE?)
  • , FtpWebRequest.EndGetResponse() , Close() . , , , -.
  • , , Network Monitor 3.3, , . - .
  • , . , , . , , , , , N M , , , .
+1

. , ServicePoint.Connection.Limit

4 . FTP .

, , . Close() -, , .

KeepAlive, 10% ( ) .

, , , ==, , .

, ; , .

, . - , ( , , ) d .

.

+1

Source: https://habr.com/ru/post/1718992/


All Articles