Click or drag to resize

CFtp.RenameFile Method

X#
Rename a file stored on the FTP server.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD RenameFile(
	cRemoteFile,
	cNewName
) AS USUAL CLIPPER
Request Example View Source

Parameters

cRemoteFile (Optional)
Type: Usual
String that contains the name of the file to be renamed on the remote FTP server.
cNewName (Optional)
Type: Usual
The new name to give to the file.

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
The RenameFile() method renames a file on the remote FTP server.
See Also