Description

This function changes the anonymous FTP welcome message.

Examples


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$ftp_welcomemsg = $cpanel->api1('Ftp', 'set_welcomemsg', array('Someone set us up the bomb') ); // Call the function.

 

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $ftp_welcomemsg = $cpliveapi->api1('Ftp', 'set_welcomemsg', ['Someone set us up the bomb!'] ); # Call the function.

 

<cpanel Module="Ftp::set_welcomemsg( $FORM('message'))">
cpapi1 --user=username Ftp set_welcomemsg "Message"

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

This function does not return output.

 

Parameters

ParameterTypeDescriptionPossible valuesExample
messagestring

Required

The new anonymous FTP welcome message.

A valid string.
Message

Returns

This function does not return output.