WebGetPassiveFTP Function

Action

Checks whether the Passive FTP flag is set.

Include file

WebAPI.bdh

Syntax

WebGetPassiveFTP(): boolean;

Return value

  • true if flag is set

  • false otherwise

Example

dcltrans 
  transaction TWebInit 
  begin 
    write("FtpPassiveMode: "); 
    if WebGetPassiveFtp() then 
    write("true"); writeln; 
    else 
    write("false"); writeln; 
end; 
end TWebInit;