How to install GFTP in Ubuntu

Source: Internet
Author: User
Tags filezilla
We often use the FTP server software when building an FTP server. Compared with Windows, Ubuntu provides more FTP server software, such as gFTP and FileZilla. This article describes how to install GFTP In Ubuntu. To install gFTP, run the following command sudoapt-getinstallgftp to install filezilla and use sudoapt-getinstallfilezi.

We often use the FTP server software when building an FTP server. Compared with Windows, Ubuntu provides more FTP server software, such as gFTP and FileZilla. This article describes how to install GFTP In Ubuntu.

To install gFTP, run the following command:

Sudo apt-get install gftp

To install filezilla, use

Sudo apt-get install filezilla

I recommend gftp. gFTP is powerful in small size and can be used even though garbled characters are displayed in Chinese. Filezilla cannot display Chinese characters at all, and the interface is also in English, but it should be in Chinese.

There are two solutions to gftp garbled Chinese characters.

I. Command method:

1. Open the terminal and enter the command

$ Sudo locale-gen zh_CN.GBK

2. Enter the command

$ Sudo gedit/usr/bin/gftp

In #! Add a line after/bin/sh:

Export LANG = zh_CN.GBK

Save and close.

3. Start gftp from the terminal and enter the following command:

$ Gftp

Log on to the ftp in Chinese, and the Garbled text does not exist.

Ii. Radical Cure:

We found that the "Application -- Internet -- gftp" is still garbled during startup. Then, open "System -- preferences -- Main Menu" and find the gftp menu item, right-click the property and change the startup command gftp-gtk % u to gftp. Then restart "Application-Internet-gftp" to solve the problem.

You can try this method. I personally think this solution has completely solved the problem of garbled Chinese Characters in gftp.

Garbled characters may occur in the downloaded files:

We recommend that you download the following FTP tools.

(1) lftp

Lftp is a command line ftp tool. Once configured, you can use get to download files without garbled characters.

Ubuntu already exists by default. Of course, you need to configure the encoding to create the file:

$ Vi ~ /. Lftp/rc

The content is as follows:

Set ftp: charset GBK

Set file: charset UTF-8

Save and close. Starting to use lftp is just a command line.

$ Lftp IP address-u user name and password

(2) fireftp

Highly recommended! This is the fixfox plug-in. You can open firefox --> Tools --> additional components and search for installation.

Log on to the Chinese FTP, click the "Edit" button, select the Advanced tab, and select the Server encoding type.

(3) filezilla

This is also very good, at least there is no need to worry about garbled characters (you can set your own character set), very good. If you do not want to enable firefox, consider it.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.