ftp_remove man page on DragonFly
Printed from http://www.polarhome.com/service/man/?qf=ftp_remove&af=0&tf=2&of=DragonFly
ftp_remove(3) C Library Calls ftp_remove(3)
NAME
ftp_remove - remove a file or directory on an FTP server
SYNOPSIS
#include <libfget.h>
int ftp_remove(FTP *ftp, char *path);
VERSION
This man page documents version 1.3 of libfget.
DESCRIPTION
The ftp_remove() function removes the file or directory specified by
path on the FTP server associated with ftp.
If path specifies a directory, ftp_remove(path) is the equivalent of
ftp_rmdir(path). If path specifies a file, ftp_remove(path) is the
equivalent of ftp_unlink(path).
RETURN VALUE
The ftp_remove() function returns 0 on success, or -1 on error (and
sets errno).
ERRORS
The ftp_remove() function may fail for any of the errors specified for
the underlying ftp_lstat(3), ftp_rmdir(3), or ftp_unlink(3) library
calls.
SEE ALSO
libfget(3), ftp_rmdir(3), ftp_unlink(3), remove(3)
Feep Networks January 2004 ftp_remove(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|