Function ftpcli_cwd
This function changes the current working directory on the FTP server.
int ftpcli_cwd(struct ftpcli * cc, char * dirname);
ParametersccPointer to the session context established in ftpcli_connect.
dirnamePointer to directory name to change to. The string can be an absolute or relative path.
return valuePossible return values for this function are:
Value |
Meaning |
0 |
Directory change succeeded. |
-1 |
Directory doesn't exist or no permission. |
-3 |
Invalid connection. |
FTP Client
Function ftpcli_mode
Function ftpcli_dir
|