Skip to main content
Skip table of contents

Get FTP Data Content in Flow

The following example extracts FTP_DATA content from a flow.

function Flow_GetFtpDataContentInFlow (dpiMessage, ruleEngine)
  require 'LOG'
  local my_application = GetLatestApplication(dpiMessage)
  if my_application == 'ftp_data' then
    local ftp_data_content = GetFtpDataContent(dpiMessage)
    if ftp_data_content ~= nil and ftp_data_content ~= '' then
      -- ftp_data_content contains data from the FTP_DATA flow.
    else
      EZINFO('Empty FTP_DATA content')
    end
  end
end
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.