The Cancel method cancels any outstanding blocking
          operation in the client, causing the blocking method to fail. The
          application may then retry the operation or terminate the client
          session. 
         
        Parameters
        
          None. 
         
        Return Value
        
          If the method succeeds, the return value is zero. If the method
          fails, the return value is FTP_ERROR. To get extended error
          information, call GetLastError. 
         
        Remarks
        
          When the Cancel method is called, the blocking method will
          not immediately fail. An internal flag is set which causes the
          blocking operation to exit with an error. This means that the
          application cannot cancel an operation and immediately perform some
          other operation. Instead it must allow the calling stack to unwind,
          returning back to the blocking operation before making any further
          function calls. 
         
        Requirements
        
          Minimum Desktop Platform: Windows 7 Service Pack 1 
          Minimum Server Platform: Windows Server 2008 R2 Service Pack 1 
          Header File: cstools11.h 
          Import Library: csftpv11.lib 
         
        See Also
        
          IsBlocking 
         
       |