I'm using a socket to upload a file up to the server.
I'm using the STOR
command to upload. Do I close the connection to cancel the upload or should I call 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";
And related:
Will closing the socket cause someone to have to relogin? Is there a logout command?