Archived Forum Post

Index of archived forum posts

Question:

EPSV mode not false as default

Apr 23 '14 at 13:01

Documentation says that EPSV is false by default, but its not in my case. i have to set the value to false in order to make it work properly.


Accepted Answer

The AutoFeat property controls whether a FEAT command is sent automatically after connecting to the FTP server. The default value of AutoFeat is true. The server's response to the FEAT command will indicate whether EPSV is supported or not. If supported, then the UseEpsv property is set to true. If not, it is set to false. This is typically a good thing because it reduces the number of problems encountered -- unless there is a firewall that does not behave well with EPSV. In that case, make sure to turn off the UseEpsv property (i.e. set it to false) after connecting.