FTP Rename File
From UBot Studio
(Difference between revisions)
(Created page with "This command is an FTP command. This command will rename a file at the FTP server. Remote File name: The name of the file being renamed on the FTP server Ne...") |
|||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
This command is an [[FTP Commands|FTP command]]. | This command is an [[FTP Commands|FTP command]]. | ||
− | This command will rename a file at the FTP server. | + | This command will rename a file at the connected FTP server. |
− | Remote File | + | '''Remote File Name:''' The name of the file being renamed on the FTP server. |
− | New File Name: The new name the target file will be renamed to. | + | |
+ | '''New File Name:''' The new name the target file will be renamed to. | ||
To use, simply drag the command into the [[Connect to FTP Server]] command. | To use, simply drag the command into the [[Connect to FTP Server]] command. | ||
− | [[File: | + | <pre> |
+ | |||
+ | plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "password1234", "/var/www/mysite.com/public_html/") { | ||
+ | plugin command("FTPCommands.dll", "ftp rename file", "myfile.txt", "Usernames.txt") | ||
+ | } | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | |||
+ | [[File:renameftp0.jpg]] | ||
+ | |||
− | Once a connection is established, the file will be found and renamed to the new | + | Once a connection is established, the file will be found and renamed to the new file Name. |
Latest revision as of 17:29, 26 September 2013
This command is an FTP command.
This command will rename a file at the connected FTP server.
Remote File Name: The name of the file being renamed on the FTP server.
New File Name: The new name the target file will be renamed to.
To use, simply drag the command into the Connect to FTP Server command.
plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "password1234", "/var/www/mysite.com/public_html/") { plugin command("FTPCommands.dll", "ftp rename file", "myfile.txt", "Usernames.txt") }
Once a connection is established, the file will be found and renamed to the new file Name.