ftpc_cwd, ftpc_cdup - Change directory on the server. |
#include <pthr_ftpc.h> int ftpc_cwd (ftpc ftpc, const char *pathname); int ftpc_cdup (ftpc ftpc); |
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 .. |
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 |