public FTP(string host, string username, string password, bool useSSL, bool implicitMode, bool useSelfSignedCert, bool activeMode, bool useBinaryMode) { _config = new FTPConfig { UseSSL = useSSL, Host = host, UserName = username, Password = password, ImplicitMode = implicitMode, ActiveMode = activeMode, UseSelfSignedCert = useSelfSignedCert, UseBinaryMode = useBinaryMode }; }
public FTP(FTPConfig config) { _config = config; }