.\" This manual page was generated from the file FtpPwd.html. .TH FtpPwd 3 "20 June 1998" FTPlib .SH NAME FtpPwd \- Determine current working directory on server. .SH "SYNOPSIS" .B "#include " .br .sp .BI "int FtpPwd(char *" path ", int " max ", netbuf *" nControl ");" .SH "PARAMETERS" .TP .B "path" A pointer to a buffer where the result should be returned. .TP .B "max" Specifies the size of the user's buffer. .TP .B "nControl" A handle returned by FtpConnect(). .SH "DESCRIPTION" .LP FtpPwd() attempts to determine the current default directory at the server and return it to the user's buffer. .SH "RETURN VALUE" .LP Returns 1 if successful or 0 on error.