ftpc_quit

NAME
SYNOPSIS
DESCRIPTION
RETURNS
AUTHOR
LICENSE
VERSION

NAME

ftpc_quit - Nicely disconnect from the FTP server.

SYNOPSIS

#include <pthr_ftpc.h>

int ftpc_quit (ftpc ftpc);

DESCRIPTION

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.

RETURNS

0 if successful, -1 if the attempt failed. If a fatal error occurs with the connection, an exception is thrown.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

pthrlib-3.0.3