int FtpPwd(char *path, int max, netbuf *nControl);
- A pointer to a buffer where the result should be returned.
- Specifies the size of the user's buffer.
- A handle returned by FtpConnect().
FtpPwd() attempts to determine the current default directory at the server and return it to the user's buffer.
Returns 1 if successful or 0 on error.