FtpPwd3
Determine current working directory on server.
Usage
#include <ftplib.h>
int FtpPwd(char *path, int max, netbuf *nControl);
Parameters
|
A pointer to a buffer where the result should be returned. |
|---|---|
|
Specifies the size of the user's buffer. |
|
A handle returned by FtpConnect(). |
Overview
FtpPwd() attempts to determine the current default directory at the server and return it to the user's buffer.
Return value
Returns 1 if successful or 0 on error.
Releases
Unchanged in 9 releases since Debian 2.1 (Slink).