title: How to cancel an FTP upload that is connected through sockets?
body: <p>I'm using a socket to upload a file up to the server. </p>
  
  <p>I'm using the <code>STOR</code> command to upload. Do I close the connection to cancel the upload or should I call <code>QUIT</code>? </p>
  
  <pre><code>    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";
  </code></pre>
  
  <p>And related:  </p>
  
  <p>Will closing the socket cause someone to have to relogin? Is there a logout command? </p>