Function ftpcli_pwd
This function retrieves the current working directory from the FTP server.
int ftpcli_pwd(struct ftpcli * cc, char * buffer);
ParametersccPointer to the session context established in ftpcli_connect.
bufferPointer to buffer to receive the remote current directory. It should be able to hold at least 256 bytes.
return valuePossible return values for this function are:
| Value |
Meaning |
| 0 |
Get directory succeeded. |
| -1 |
Get directory failed. |
| -3 |
Invalid connection. |
FTP Client
Function ftpcli_mkdir
Function ftpcli_quit
|