日期:2014-05-17 浏览次数:20834 次
public class FtpWeb
{
string ftpRemotePath;
string ftpUserID;
string ftpPassword;
string ftpURI;
string ftpServerIP;
/// <summary>
/// 连接FTP
/// </summary>
/// <param name="FtpServerIP">FTP连接地址</param>
/// <param name="FtpRemotePath">指定FTP连接成功后的当前目录, 如果不指定即默认为根目录</param>
/// <param name="FtpUserID">用户名</param>
/// <param name="FtpPassword">密码</param>
public FtpWeb(string FtpServerIP, string FtpUserID, string FtpPassword)
{
ftpServerIP = FtpServerIP;
ftpUserID = FtpUserID;
ftpPassword = FtpPassword;
ftpURI = FtpServerIP + "/";
}
/// <summary>