Beispiel #1
0
        /// <summary>
        /// 获取机台Ftp
        /// </summary>
        public static IEACTFTP GetMachFtp(string FtpServerIP, string FtpRemotePath, string FtpUserID, string FtpPassword, bool SSL)
        {
            var ftp = new TOOL.FtpLibEx(FtpServerIP, FtpRemotePath, FtpUserID, FtpPassword, SSL);

            return(ftp);
        }
Beispiel #2
0
        /// <summary>
        /// 获取机台Ftp
        /// </summary>
        /// <returns></returns>
        public static IEACTFTP GetMachFtp(string FtpServerIP, int FtpServerPort, string FtpRemotePath, string FtpUser, string FtpPassword)
        {
            var ftp = new TOOL.FtpLibEx(FtpServerIP, FtpServerPort, FtpRemotePath, FtpUser, FtpPassword);

            return(ftp);
        }