ftpc_quit - Nicely disconnect from the FTP server. |
#include <pthr_ftpc.h> int ftpc_quit (ftpc ftpc); |
ftpc_quit sends a QUIT command to the FTP server and then drops the network connection. After using this function, the ftpc object associated with the connection is invalid and should not be used. |
0 if successful, -1 if the attempt failed. If a fatal error occurs with the connection, an exception is thrown. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
pthrlib-3.0.3 |