ftpc_cwd

NAME
SYNOPSIS
DESCRIPTION
RETURNS
AUTHOR
LICENSE
VERSION

NAME

ftpc_cwd, ftpc_cdup - Change directory on the server.

SYNOPSIS

#include <pthr_ftpc.h>

int ftpc_cwd (ftpc ftpc, const char *pathname);
int ftpc_cdup (ftpc ftpc);

DESCRIPTION

ftpc_cwd changes the directory to pathname.
ftpc_cdup moves to the parent directory. On most Unix-like FTP servers this is equivalent to doing CWD ..

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