standard.net.ftp.FtpOptions

FtpOptions is available since version 1.0.

Prototype:

boolean FtpOptions(number option, number val, number connection_handle)

Parameters

option
the ftp option: FTPLIB_CONNMODEFTPLIB_PASSIVE, FTPLIB_PORT, FTPLIB_CALLBACK, FTPLIB_IDLETIME, FTPLIB_CALLBACKARG, FTPLIB_CALLBACKBYTES
val
the option value
connection_handle
the connection handle as returned by FtpConnect.

Description:

Sets an ftp option.

Return value:

Returns true if succeeded, false if failed.