using System;
using System.Net;
using System.IO;
using System.Text;
using System.Net.Sockets;
namespace zhangyuk.net.csdn.blog.ftpclient
{
 /// 
 /// FTP Client
 ///  public class FTPClient
 {
  #region 构造函数
  /// 
  /// 缺省构造函数
  ///   public FTPClient()
  {
     strRemoteHost  = "";
     strRemotePath  = "";
     strRemoteUser  = "";
     strRemotePass  = "";
     strRemotePort  = 21;
     bConnected     = false;
  }
  /// 
  /// 构造函数
  ///   /// 
  /// 
  /// 
  /// 
  /// 
  public FTPClient( string remoteHost, string remotePath, string remoteUser, string remotePass, int remotePort )
  {
     strRemoteHost  = remoteHost;
     strRemotePath  = remotePath;
     strRemoteUser  = remoteUser;
     strRemotePass  = remotePass;