Common vsFTPd functions: Setting virtual paths and viewing log information

Source: Internet
Author: User

VsftpdIt is one of the most popular FTP server programs in the Linux release. We often use Dreamweaver when a file is uploaded to a remote server, these files reside in a folder in the local directory tree of the server. In this case, we will use virtual paths. Log Viewing is essential every day. Now I will show you how to implement the vsftpd function!

1. How to implement a virtual path?

For example:

/Home/a ing is ftp: // localhost/

/Home/B/c is set to ftp: // localhost/c

In fact, this cannot be said to be the content of vsFTPd. In fact, we have been using it for a long time. We may not have noticed it. We can implement it through the following methods.

[Root @ localhost ~] # Mount -- bind [original directory] [new directory]

For example, if my default ftp directory is/var/ftp, I want to map the/mnt/LinG/WinSoft folder to the/var/ftp directory. I will perform the following operations:

Create a directory in the/var/ftp directory first.

[Root @ localhost ~] # Mkdir/var/ftp/WinSoft

Run the mount command.

[Root @ localhost ~] # Mount -- bind/mnt/LinG/WinSoft/var/ftp/WinSoft

In this case, OK.

2. Enable the log function of the vsFTP server;

Correct # In Front Of xferlog_file below, that is, enable the log function of vsftp, so that we can view vsftpd. log in the/var/log directory. This is the log function of vsFTP, which is extremely important for us.

Xferlog_file =/var/log/vsftpd. log

Through reading the above article, we can know that it is easy to set the virtual path and view the log information. I hope it will be helpful to you!

  • Read and Write Permissions for common vsFTPd Functions
  • Anonymous upload/download of common vsFTPd Server Functions
  • The relationship between vsFTPd servers, firewalls, and SELINUX is ambiguous.
  • How to enable and disable the vsFTPd Server
  • Install vsFTPd in one minute
  • How to add Vsftpd virtual users
  • Getting started with vsftpd-installation, configuration, cases and FAQs
  • The most detailed vsftpd configuration file in history

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.