Remote attachment of FTP partitions in linux

Source: Internet
Author: User
Tags ftp protocol
For details about how to remotely mount an FTP partition in linux-Linux Enterprise Application-Linux server application, refer to the following section. Last semester, sshfs was found in linux and FTP management. It can be used to mount remote FTP partitions to a local machine, just as convenient as using local files. The method is as follows:

Apt-get install sshfs -- this item is based on FUSE and has been installed with NTFS.

Mkdir/mnt/remoteftp1 -- create a mount point

Root@ftp1.buctftp.cn: // mnt/remoteftp1-o sshfs_sync-o

Port = 10022 (, default_permissions, allow_root, kernel_cache, hard_remove) (you can leave it empty in brackets)

Comparison successful. To uninstall the tool, you only need umount/mnt/remoteftp1.

However, this method is only applicable to FTP sites that open the SSH protocol, such as the FTP managed by the user. Many other FTP servers only open the FTP protocol, so can they be mounted like the SSH protocol? This is also possible, and another software should be used: Curlftpfs, which is also based on FUSE.

After the experiment, the format should be as follows:

Curlftpfs ftp: // koei: koei@219.228.116.241: 10086/mnt/remoteftp1, not the same as sshfs, but can be used normally, the problem is also the same as mounting with sshfs, the locale under root is different from the locale of the current user, but it cannot be opened under nautilus after being mounted as root. It can only be opened through command lines, however, if it is mounted under the current user, the FTP's Chinese characters cannot be correctly identified, and I have not found a way to modify the current user's lcoale.
Related Article

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.