Ftp:proxy([proxy_server], [username], [password])method

Sets the FTP proxy server connection.

Parameters

[proxy_server]

An optional string representing the proxy server address.

[username]

An optional string representing the proxy user name.

[password]

An optional string representing the proxy password.

Return value

This function returns a boolean value indicating if the operation was successful.

Example

--! luart-extensions import 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")