ftplib_rename

Rename a remote file.

SYNOPSIS

#include <ftplib.h>
int ftplib_rename(const char *src, const char *dst, netbuf *nbp);

PARAMETERS

src
A string containing the current name of the remote file.
dst
A string containing the desired new name for the remote file.
nbp
A handle returned by ftplib_connect().

DESCRIPTION

ftplib_rename() sends a rename request to the remote server.

RETURN VALUE

Returns 1 if successful or 0 on error.

$Id: ftplib_rename.html,v 1.1 2002/12/02 03:12:52 te Exp $