Description

This function checks whether the account allows anonymous FTP connections.

Examples


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$get_anonftp = $cpanel->api1('Ftp','get_anonftp'); // Call the function.

 

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $get_anonftp = $cpliveapi->api1('Ftp','get_anonftp'); # Call the function.

 

<cpanel Module="Ftp::get_anonftp()">
cpapi1 --user=username Ftp get_anonftp

For more information and additional output options, read our Guide to cPanel API 1 documentation or run the cpapi1 --help command.  

checked

 

Parameters

This function does not accept parameters.

Returns

This function returns the string checked if the function succeeded.