tfFtpClose

Jump to: navigation, search

Table of Contents >> Application Reference >> FTP Client API


#include <trsocket.h>


int tfFtpClose (ttUserFtpHandle ftpUserHandle);


Function Description

This function closes an FTP client socket, without sending a QUIT command. Normally, an FTP connection should be closed with the tfFtpQuit() call. However, if the connection or the call to tfFtpQuit() fails, this call may be used.


Parameters

  • ftpUserHandle
    The FTP session handle.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    Invalid FTP session pointer.


Table of Contents >> Application Reference >> FTP Client API