如何取消通过套接字连接的FTP上传?

时间:2015-09-12 03:26:17

标签: sockets ftp

我正在使用套接字将文件上传到服务器。

我正在使用STOR命令上传。我是否要关闭连接以取消上传,还是应该拨打QUIT

    public static const STOR:String     = "STOR";
    public static const BINARY:String   = "TYPE I";
    public static const ASCII:String    = "TYPE A";
    public static const USER:String     = "USER";
    public static const PASS:String     = "PASS";
    public static const QUIT:String     = "QUIT";
    public static const CWD:String      = "CWD";
    public static const PWD:String      = "PWD";
    public static const LIST:String     = "LIST";
    public static const PASV:String     = "PASV";
    public static const RETR:String     = "RETR";
    public static const CD:String       = "CWD";

相关:

关闭套接字会导致某人不得不重新登录吗?是否有退出命令?

0 个答案:

没有答案