InetRename

Renames a file on an FTP server.

Synopsis

error = InetRename(oldName, newName)

Args

oldName is the name of the file (on the FTP server) whose name is to be changed. This can be either a partially or fully qualified file name relative to the current directory on the server.

newName is the new name of the file.

Returns

An empty string if successful, or an error message if a problem.

Notes

You can call InetDir only if the current server handle has been set to use FTP protocol.