======ftp_status====== FW >= 1250 The ftp_status() function returns information about the FTP engine ====Description==== array ftp_status ( int full ) ====Parameter==== int full Set to 1 to return the FTP command array in addition ====Return Values==== array: Return array contains the following elements: ^ Key ^ Value ^ | status | Connection transfer status | | file_size | Size of file being transferred | | last_status_code | Last FTP response code | | file_position | Position of transfer (between 0 and file_size) | | file_direction | 0 = Download, 1 = Upload | | file_name | name of file being transferred | | command_log | Optional array of commands (if $full == 1) | The status key will contain one of the following values: ^ status ^ Description ^ | -1 | Error | | 0 | Idle | | 1 | Busy with a transfer | | 2 | Transfer completed |