示例#1
0
 public static FTPHelper FtpHepler()
 {
     var serverAddr = ConfigurationManager.AppSettings["serverAddr"].ToString();
     var serverPort = Convert.ToInt32(ConfigurationManager.AppSettings["serverPort"]);
     var userName = ConfigurationManager.AppSettings["userName"].ToString();
     var passWord = ConfigurationManager.AppSettings["passWord"].ToString();
     var file=ConfigurationManager.AppSettings["file"].ToString();
     FTPHelper helper = new FTPHelper(serverAddr, file, userName, passWord);
     return helper;
 }