Associate a file name extension with a specific file type.
This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.
This method is used to associate specific file types with file name extensions. The class has an internal list of standard text file extensions which it automatically recognizes. This method can be used to extend or modify that list for the client session.
FtpClient Class | SocketTools Namespace | FtpFileType Enumeration