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 ...") |
|||
(5 intermediate revisions by one user not shown) | |||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
− | plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp. | + | plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mozilla.org", 21, "anonymous", "", "/pub") { |
− | + | set(#testftp, $plugin function("FTPCommands.dll", "$ftp get files", "zz"), "Global") | |
} | } | ||
Line 13: | Line 13: | ||
− | In the example above, the FTP Get Files function has been placed inside the [[ | + | In the example above, the FTP Get Files function has been placed inside the [[Set]] command. The [[Set]] command is then placed inside the [[Connect to FTP Server]] command. The FTP server is a publicly accessible server. |
− | |||
− | Running the will return | + | |
+ | [[File:getfilesftp0.jpg]] | ||
+ | |||
+ | |||
+ | Running the will return the names of all the files in the location specified in the FTP Get Files function. |
Latest revision as of 16:28, 18 February 2014
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.mozilla.org", 21, "anonymous", "", "/pub") { set(#testftp, $plugin function("FTPCommands.dll", "$ftp get files", "zz"), "Global") }
In the example above, the FTP Get Files function has been placed inside the Set command. The Set command is then placed inside the Connect to FTP Server command. The FTP server is a publicly accessible server.
Running the will return the names of all the files in the location specified in the FTP Get Files function.