Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter TwelveInternet Functions (continued)

FTPRenameFile Function

Overview

The FTPRenameFile function renames a file or folder on a remote server.

Syntax/Parameters

Syntax

int = FTPRenameFile ( handle hFTP, string existing, string new );

Parameters

hFTP

A handle to an FTP connection. Use the FTPOpenConnection function to open a connection.

existing

A string that species the existing name and page. Do not add the root slash.

new

A string the new name, must have the same path.

Return Value

Returns an int as ERROR_NONE (0) or a formatted error code on failure. Use the GetLastError and GetLastErrorMessage functions to retrieve additional details.

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic