We have a process in place to upload a file nightly to a partner FTP site. They now require a passive connection and our uploads now fail. Is it possible for the .NET 4 FtpWebRequest to implement a passive connection instead of an active one? If so, can someone please provide an example?
Asked
Active
Viewed 6,470 times
3
3 Answers
1
Just to add something to an old post - The FtpWebRequest.UsePassive property is True by default, so all requests should use passive already.

Nick
- 461
- 5
- 17
0
Tried setting the UsePassive
property on FtpWebRequest? See MSDN.

abatishchev
- 98,240
- 88
- 296
- 433

Peter Mourfield
- 1,885
- 1
- 19
- 38