FTP Download File
From UBot Studio
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.