ftp.rename
Renames a file. This method renames a file or directory stored on the FTP server.
method uint ftp.rename (
str from,
str to
)
str from,
str to
)
Parameters
from | The current name of the file or directory. |
to | A new name. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |