<ftp_renamefile> Renames file on a remote FTP server.


Command Tree:   Internet  \  FTP   \  Rename File
.
Syntax:   <ftp_renamefile>("RemoteOldlFile", "RemoteNewFile", "UserName", "Password")
RenameOldFile
Full path to the original remote file (e.g., ftp://softwareutilities.com/original.txt).
RemoteNewFile
Full path to the remote new file (e.g., ftp://softwareutilities.com/renamed.txt).
UserName
User login name.  If empty the "anonymous" is considered.
Password
User name login password.
.
.
Example:   <#> This macro uploads file to an FTP server
<#>
<commands_only_on>

<form_item>("fm1","Remote file - old name:","EDIT","","vRemoteFileOld")
<form_item>("fm1","Remote file - new name:","EDIT","","vRemoteFileNew")
<form_item>("fm1","User:","EDIT","","vUser")
<form_item>("fm1","Password:","EDIT","","vPassword")

<form_show>("fm1","File Rename","shell32.dll",1)

<ftp_renamefile>("vRemoteFileOld","vRemoteFileNew","vUser","vPassword")