FtpRename(3)

FtpRename3

Rename a remote file.

Usage

#include <ftplib.h>

int FtpRename(const char *src, const char *dst,

netbuf *nControl);

Parameters

src

A string containing the current name of the remote file.

dst

A string containing the desired new name for the remote file.

nControl

A handle returned by FtpConnect().

Overview

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

Return value

Returns 1 if successful or 0 on error.

Releases

Unchanged in 10 releases since Debian 2.0 (Hamm).

  1. 2.0–8

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