Description
This function returns the FTP port.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
port |
integer |
The FTP port. |
A positive integer that represents a port number. Note: Generally, this function returns port 21. |
21 |