# FTP Server Settings

Files / FTP Server Settings

## Return if anonymous FTP connections allowed

 - [GET /Ftp/allows_anonymous_ftp](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/allows_anonymous_ftp.md): This function checks whether the account allows anonymous FTP connections.

Important:

When you disable the FTP role, the system disables this function.

## Return if anonymous FTP transfers allowed

 - [GET /Ftp/allows_anonymous_ftp_incoming](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/allows_anonymous_ftp_incoming.md): This function checks whether the account allows inbound anonymous FTP transfers.

Important:

  When you disable the FTP role, the system disables this function.

## Return FTP server's information

 - [GET /Ftp/get_ftp_daemon_info](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/get_ftp_daemon_info.md): This function retrieves the extended information about the server's FTP daemon.

## Return FTP server's port

 - [GET /Ftp/get_port](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/get_port.md): This function returns the FTP port.

Important:

  When you disable the FTP role, the system disables this function.

## Stop FTP session

 - [GET /Ftp/kill_session](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/kill_session.md): This function kills FTP sessions.

Important:

  When you disable the FTP Role, the system disables this function.

## Return FTP server's active sessions

 - [GET /Ftp/list_sessions](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/list_sessions.md): This function lists the FTP server's active sessions.

Important:

  When you disable the FTP role, the system disables this function.

## Return whether server uses ProFTPD or Pure-FTPd

 - [GET /Ftp/server_name](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/server_name.md): This function checks whether the server uses ProFTPD or Pure-FTPd.

Important:

When you disable the FTP role, the system disables this function.

## Enable or disable anonymous FTP logins

 - [GET /Ftp/set_anonymous_ftp](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/set_anonymous_ftp.md): This function enables or disables anonymous FTP logins.

Important:

When you disable the FTP role, the system disables this function.

## Enable or disable anonymous incoming FTP transfers

 - [GET /Ftp/set_anonymous_ftp_incoming](https://api.docs.cpanel.net/specifications/cpanel.openapi/ftp-server-settings/set_anonymous_ftp_incoming.md): This function enables or disables inbound anonymous FTP transfers.

Important:

When you disable the FTP role, the system disables this function.

