Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ftpaccess(3) [debian man page]

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)

Check Out this Related Man Page

CFTP(1) 						    BSD General Commands Manual 						   CFTP(1)

NAME
cftp -- Conch command-line SFTP client SYNOPSIS
cftp [-B buffer_size] [-b command_file] [-R num_requests] [-s subsystem] DESCRIPTION
is a client for logging into a remote machine and executing commands to send and receive file information. It can wrap a number of file transfer subsystems The options are as follows: -B Specifies the default size of the buffer to use for sending and receiving. (Default value: 32768 bytes.) -b File to read commands from, '-' for stdin. (Default value: interactive/stdin.) -R Number of requests to make before waiting for a reply. -s Subsystem/server program to connect to. The following commands are recognised by : cd path Change the remote directory to 'path'. chgrp gid path Change the gid of 'path' to 'gid'. chmod mode path Change mode of 'path' to 'mode'. chown uid path Change uid of 'path' to 'uid'. exit Disconnect from the server. get remote-path [local-path] Get remote file and optionally store it at specified local path. help Get a list of available commands. lcd path Change local directory to 'path'. lls [ls-options [path]] Display local directory listing. lmkdir path Create local directory. ln linkpath targetpath Symlink remote file. lpwd Print the local working directory. ls [-l [path]] Display remote directory listing. mkdir path Create remote directory. progress Toggle progress bar. put local-path [remote-path] Transfer local file to remote location pwd Print the remote working directory. quit Disconnect from the server. rename oldpath newpath Rename remote file. rmdir path Remove remote directory. rm path Remove remote file. version Print the SFTP version. ? Synonym for 'help'. AUTHOR
cftp by Paul Swartz <z3p@twistedmatrix.com>. Man page by Mary Gardiner <mary@twistedmatrix.com>. REPORTING BUGS
Report bugs to http://twistedmatrix.com/bugs/ COPYRIGHT
Copyright (C) 2005-2008 Twisted Matrix Laboratories This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. BSD
October 8, 2005 BSD
Man Page