debian man page for ftpaccess

Query: ftpaccess

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FtpAccess(3)						     Library Functions Manual						      FtpAccess(3)

NAME
FtpAccess - Open a file or directory on the remote system.
SYNOPSIS
#include <ftplib.h> int FtpAccess(const char *path, int typ, int mode, netbuf *nControl, netbuf **nData);
PARAMETERS
path Specifies the name of the remote file or directory to open. typ Specifies the type of transfer to be performed. FTPLIB_DIR performs a terse directory. FTPLIB_DIR_VERBOSE performs a verbose direc- tory. FTPLIB_FILE_READ opens a remote file for reading. FTPLIB_FILE_WRITE creates a remote file and readies it for writing. mode Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE. nControl A handle returned by FtpConnect(). nData Specifies the address to store a pointer to the created data handle.
DESCRIPTION
FtpAccess() opens a remote file or directory and returns a handle for the calling program to use to transfer data.
RETURN VALUE
Returns 1 if successful or 0 on error. FTPlib 06 November 1997 FtpAccess(3)
Related Man Pages
tftp(1) - bsd
conchftp(1) - debian
tftp(1) - debian
ftpfs(4) - plan9
sftp(1) - sunos
Similar Topics in the Unix Linux Community
FTP user Issue and /etc/shells