Esempio n. 1
0
 public FtpHelper()
 {
     if (config == null)
     {
         config = ConfigHelper.GetConfig <FtpConfig>(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, FtpConfigFilePath));
     }
     ftpUri = string.Format("ftp://{0}:{1}/", config.FtpServerIp, config.FtpServerPort);
 }
Esempio n. 2
0
 public FtpHelper(FtpConfig ftpConfig)
 {
     config = ftpConfig;
     ftpUri = string.Format("ftp://{0}:{1}/", config.FtpServerIp, config.FtpServerPort);
 }