RenameFTPFile (open)

This function will rename a file

Syntax

LOADLIB "wh::internet/ftp.whlib";

BOOLEAN FUNCTION RenameFTPFile(INTEGER connectionid, STRING oldpathname, STRING newpathname)

Parameters

INTEGER connectionid

Integer id of the connection (opened by OpenFTPSite)

STRING oldpathname

Old name of the file

STRING newpathname

New name of the file

Return value

BOOLEAN

boolean indicating if the command was succesfull