Как улучшить производительность FtpWebRequest?

У меня есть приложение, написанное на .NET 3.5, которое использует FTP для загрузки / выгрузки файлов с сервера. Приложение работает нормально, но есть проблемы с производительностью:

It takes a lot of time to make connection to the FTP server. The FTP server is on a different network and has Windows 2003 Server (IIS FTP). When multiple files are queued for upload, the change from one file to another creates a new connection using FTPWebRequest and it takes a lot of time (around 8-10 seconds).

Is is possible to re-use the connection? I am not very sure about the KeepAlive property. Which connections are kept alive and reused.

The IIS-FTP on Windows Server 2003 does not support SSL so anyone can easily see the username/password through a packet sniffer such as WireShark. I found that windows Server 2008 supports SSL over FTP in its new version if IIS 7.0.

Я в основном хочу улучшить производительность загрузки / выгрузки моего приложения. Любые идеи будут оценены.

** Пожалуйста, обратите внимание, что 3 не проблема, но я хотел бы, чтобы у людей были комментарии по этому поводу

Ответы на вопрос(18)

Ваш ответ на вопрос