Linux Server Vsftp Service at the time of the machine and the time after the FTP connection is inconsistent resolution

Source: Internet
Author: User
Tags ftp connection

Linux Server Vsftp Service at the time of the machine and the time after the FTP connection is inconsistent resolution

The time on this machine

[email protected] ctrl]$ LL

Total 112

-rw-r--r--1 wxbftp wxbftp 163 Jan 6 05:54 Miliao_20170106_103e2c8fb4d649d1b607a07426112384.json

-rw-r--r--1 wxbftp wxbftp 2 Jan 6 05:54 MILIAO_20170106_103e2c8fb4d649d1b607a07426112384.json.ok

-rw-r--r--1 wxbftp wxbftp 163 Jan 6 01:09 Miliao_20170106_173c0c2a3b8d4f23b8c53bb255f78527.json

-rw-r--r--1 wxbftp wxbftp 2 Jan 6 01:09 MILIAO_20170106_173c0c2a3b8d4f23b8c53bb255f78527.json.ok

FTP connection time with other servers

Ftp> ls

227 Entering Passive Mode (10,139,44,17,83,96).

Here comes the directory listing.

-rw-r--r--1 10001 10001 163 Jan 21:54 Miliao_20170106_103e2c8fb4d649d1b607a07426112384.json

-rw-r--r--1 10001 10001 2 Jan 21:54 MILIAO_20170106_103e2c8fb4d649d1b607a07426112384.json.ok

-rw-r--r--1 10001 10001 163 Jan 17:09 Miliao_20170106_173c0c2a3b8d4f23b8c53bb255f78527.json

-rw-r--r--1 10001 10001 2 Jan 17:09 MILIAO_20170106_173c0c2a3b8d4f23b8c53bb255f78527.json.ok

Modify vi/etc/vsftp/vaftp.conf

Last line Join

Use_localtime=yes

Save Exit

Restart vsftp

View Time

Ftp> ls

227 Entering Passive Mode (10,139,44,17,45,81).

Here comes the directory listing.

-rw-r--r--1 10001 10001 163 Jan 05:54 Miliao_20170106_103e2c8fb4d649d1b607a07426112384.json

-rw-r--r--1 10001 10001 2 Jan 05:54 MILIAO_20170106_103e2c8fb4d649d1b607a07426112384.json.ok

-rw-r--r--1 10001 10001 163 Jan 01:09 Miliao_20170106_173c0c2a3b8d4f23b8c53bb255f78527.json

-rw-r--r--1 10001 10001 2 Jan 01:09 MILIAO_20170106_173c0c2a3b8d4f23b8c53bb255f78527.json.ok

That would be good.

This article is from the "10969650" blog, please be sure to keep this source http://10979650.blog.51cto.com/10969650/1889815

Linux Server Vsftp Service at the time of the machine and the time after the FTP connection is inconsistent resolution

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.