Query: ftppwd
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FtpPwd(3) Library Functions Manual FtpPwd(3)NAMEFtpPwd - Determine current working directory on server.SYNOPSIS#include <ftplib.h> int FtpPwd(char *path, int max, netbuf *nControl);PARAMETERSpath 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().DESCRIPTIONFtpPwd() attempts to determine the current default directory at the server and return it to the user's buffer.RETURN VALUEReturns 1 if successful or 0 on error. FTPlib 20 June 1998 FtpPwd(3)