Wissensdatenbank

The setupftpserver script  Artikel drucken

Overview:

The /usr/local/cpanel/scripts/setupftpserver script allows you to select your server’s FTP server, configure anonymous FTP services, or disable FTP services.

Note:

You can select an FTP server with WHM’s FTP Server Selection interface (WHM >> Home >> Service Configuration >> FTP Server Selection). You can also configure anonymous FTP with WHM’s FTP Server Configuration interface (WHM >> Home >> Service Configuration >> FTP Server Configuration).

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/setupftpserver options ftpserver

 

Options

Use the following options with this script:

Options Description Example
--force Run this script and do not stop for warnings, even if the script fails. /usr/local/cpanel/scripts/setupftpserver --force pure-ftpd
--current Display the currently-configured FTP server. /usr/local/cpanel/scripts/setupftpserver --current
--enable-anonymous Enable anonymous FTP.
Warning:
This feature may cause security risks.
/usr/local/cpanel/scripts/setupftpserver --enable-anonymous pure-ftpd

Use the following values for the ftpserver option:

Value Description Example
pure-ftpd Use the Pure-FTPd FTP server. /usr/local/cpanel/scripts/setupftpserver pure-ftpd
proftp Use the ProFTP FTP server. /usr/local/cpanel/scripts/setupftpserver proftpd
disabled Disable FTP services. /usr/local/cpanel/scripts/setupftpserver disabled

War diese Antwort hilfreich?

Verwandte Artikel

WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...