ftp_download
Download a file from an FTP server. Supports authenticated FTP, FTPS (FTP over SSL/TLS), proxy configuration, and Tor anonymization. If no output path is specified, saves to /tmp/owl_downloads/. Returns file path, size, and download timing.
Usage Example
Parameters
Required
urlstringrequiredFTP URL of the file to download (e.g., 'ftp://ftp.example.com/pub/file.tar.gz').
Optional
output_pathstringFull path where the file should be saved. If not specified, saves to /tmp/owl_downloads/.
usernamestringFTP username. Default: anonymous
passwordstringFTP password. Default: empty
proxy_typeenumhttphttpssocks4socks5+1 moreType of proxy server.
proxy_hoststringProxy server hostname or IP address.
proxy_portstringProxy server port number.
proxy_usernamestringUsername for proxy authentication.
proxy_passwordstringPassword for proxy authentication.
use_torbooleanUse built-in Tor proxy. Default: false
timeoutstringTimeout in milliseconds. Default: 30000
use_sslbooleanUse FTPS (FTP over SSL/TLS). Default: false
Response
Returns a JSON object with the operation result.
{
"success": true,
"result": <value>
}