FTP Get Files
From UBot Studio
(Difference between revisions)
(Created page with "This is an FTP Function This function will return a list of all folders in the specified location. The FTP Get Files function can be used in any command in ...") |
|||
Line 14: | Line 14: | ||
In the example above, the FTP Get Files function has been placed inside the [[Add List to List]] command. The [[Add List to List]] is then placed inside the [[Connect to FTP Server]] command. | In the example above, the FTP Get Files function has been placed inside the [[Add List to List]] command. The [[Add List to List]] is then placed inside the [[Connect to FTP Server]] command. | ||
+ | |||
[[File:getfilesftp.jpg]] | [[File:getfilesftp.jpg]] | ||
+ | |||
Running the will return a list of all the folders in the location specified in the FTP Get Files function. | Running the will return a list of all the folders in the location specified in the FTP Get Files function. |
Revision as of 17:45, 31 July 2013
This is an FTP Function
This function will return a list of all folders in the specified location. The FTP Get Files function can be used in any command in UBot Studio, as along as the command is in the Connect to FTP Server command.
plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "p4ssw0rd", " /var/www/mysite.com/files") { add list to list(%mylist, $plugin function("FTPCommands.dll", "$ftp get files", "files"), "Delete", "Global") }
In the example above, the FTP Get Files function has been placed inside the Add List to List command. The Add List to List is then placed inside the Connect to FTP Server command.
Running the will return a list of all the folders in the location specified in the FTP Get Files function.