Gftp and lftp garbled solutions-Linux Enterprise Application-Linux server application information. For details, refer to the following section. GFTP
Run the following command:
$ Sudo gedit/usr/bin/gftp
In #! Add a line after/bin/sh:
Export Lang = zh_CN
Save and exit.
Then start gFTP, and then fill in the remote character set in the option with the corresponding encoding method, for example, I use GB2312 FTP on the new sail, also said should use zh_CH.UTF-8.
Lftp in the command line
The command line has a relatively easy-to-use FTP tool-lftp. After logon, like bash, the file name can be automatically filled with the TAB key.
If you have used this program, there should be a. lftp folder in your main folder. The lftp configuration files are all here.
Run the following command:
$ Vi ~ /. Lftp/rc
(Use gedit if you like)
Open an empty file. Enter
Set ftp: charset GBK
Set file: charset UTF-8
Set ftp: passive-mode no
Save and exit. OK
Test environment: Ubuntu 6.10 DeskTop and gFTP 2.0.18.
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