FtpPwd - Determine current working directory on server.
#include <ftplib.h> int FtpPwd(char *path, int max, netbuf *nControl);
path A pointer to a buffer where the result should be returned. max Specifies the size of the user’s buffer. nControl 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.