Use FTP in Linux

Source: Internet
Author: User

To use ftp, you must install the FTP server. Generally, an FTP server is installed in Linux by default.

Run the following command:

Rpm-Qa | grep vsftpd

Check whether the FTP server is installed.

To access the FTP server, the client must start the FTP server:

Start ftp: Service vsftpd start

Two other commands:

Stop ftp: Service vsftpd stop restart ftp: Service vsftpd restart

After the client is started, it can be accessed through FTP.

The error "331 permission denied" may be reported during access using the root account. This is because the root user is disabled in/etc/vsftpd/ftpusers and/etc/vsftpd/user_list. In these two files, the root user can be normally accessed by shielding them.

When uploading a file, the error "553 cocould not create file" is displayed. The solution is as follows:

1. setsebool-P ftpd_disable_trans 1 2. Service vsftpd restart

Use man ftpd_selinux to view help.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.