using System;
using System.Net;
using System.IO;
using System.Text;
using System.Net.Sockets;

namespace FTP
{
    
/// <summary>
    
/// 类描述:对FTP 操作类
    
/// 作者:何火生
    
/// </summary>

    public class FTPFactory
    
{
        
Arrbuite

        
protected FTPFactory()
        
{
            remoteHost 
= "localhost";
            remotePath 
= ".";
            remoteUser 
= "anonymous";
            remotePass 
= "jaimon@school2000.co.uk";
            FTPSetup();
        }


        
构造函数

        
getFileList

        
getFileSize

        
login

        
setBinaryMode        

        
Download

        
Upload

        
DeleteRemoteFile

        
RenameRemoteFile

        
MkDir

        
RmDir

        
ChDir

        
Close()

        
OTHER

        
readLine

        
sendCommand

        
createDataSocket

    }


}

 posted on 2007-11-30 13:06  wskfire  阅读(5518)  评论(4编辑  收藏  举报