$ftp->rename(file1, file2)
ftp
file1
file2
Renames a file on the server. Arguments are:
The old name of the file.
The new name of the file.
Copyright © 2001 O'Reilly & Associates. All rights reserved.