FTP Download File
From UBot Studio
(Difference between revisions)
(Created page with "This command is an FTP command. This command will download a file from an FTP server by the Remote File name. '''Remote File Name:''' The remote file name o...") |
|||
(2 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 download a file from | + | This command will download a file from the connected FTP server. |
− | '''Remote File Name:''' The remote file name of the file being downloaded from the server (for example | + | '''Remote File Name:''' The remote file name of the file being downloaded from the server (for example myfax.txt. Make sure the file actually exists within that remote path you are connected to using the connect to ftp server command) |
'''Local File:''' The new file name for the downloaded file and its local file path(C:\Users\Documents\Fax.txt) | '''Local File:''' The new file name for the downloaded file and its local file path(C:\Users\Documents\Fax.txt) | ||
Line 9: | Line 9: | ||
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. | ||
+ | <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 download file", "myfax.txt", "C:\\Users\\Documents\\ImportanFax") | ||
+ | } | ||
− | [[File: | + | </pre> |
+ | |||
+ | |||
+ | [[File:downloadfileftp0.jpg]] | ||
Once a connection is established, the command will be run and the file will be downloaded to the specified location on the local machine. | Once a connection is established, the command will be run and the file will be downloaded to the specified location on the local machine. |
Latest revision as of 17:52, 26 September 2013
This command is an FTP command.
This command will download a file from the connected FTP server.
Remote File Name: The remote file name of the file being downloaded from the server (for example myfax.txt. Make sure the file actually exists within that remote path you are connected to using the connect to ftp server command)
Local File: The new file name for the downloaded file and its local file path(C:\Users\Documents\Fax.txt)
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 download file", "myfax.txt", "C:\\Users\\Documents\\ImportanFax") }
Once a connection is established, the command will be run and the file will be downloaded to the specified location on the local machine.