Calling this method without arguments will disable proxy server connection, using only FTP direct connection.
Http:proxy([proxy_server], [username, password])
Sets the FTP proxy server connection.
Parameters
[proxy_server]
An optional string
representing the proxy server address.
[username, password]
An optional string
representing the proxy user name and password.
Return value
This function returns aboolean
value indicating if the operation was successful.
Example
local net = require "net"
local client = net.Ftp("ftp://yourftpserver.org")
-- set a proxy connection with the server at 88.32.132.44 using port 8080
client:proxy("88.32.132.44:8080")