carta
FtpPwd(3)

FtpPwd3

Determine current working directory on server.

Parameters

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().

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.

From ftplib-dev 3.1-1-9 in Debian 8 (Jessie). Parsed by carta from the page's man source.