Difference between revisions of "FtpFs"

From ArchWiki
Jump to: navigation, search
(marking dead link)
(marking dead link found by bot)
Line 13: Line 13:
  
 
===Installation===
 
===Installation===
* You can [http://wiki.thiesen.org/page/Fuseftp#Installation build it] from the original package, or
+
* You can [http://wiki.thiesen.org/page/Fuseftp#Installation build it]{{Linkrot|2011|09|05}} from the original package, or
 
* get it from [http://aur.archlinux.org/packages.php?do_Details=1&ID=3069 AUR]. (It's still useful to install the dependencies with CPAN.)
 
* get it from [http://aur.archlinux.org/packages.php?do_Details=1&ID=3069 AUR]. (It's still useful to install the dependencies with CPAN.)
  

Revision as of 22:16, 5 September 2011


What is FTPFS?

From Wikipedia:

"FTPFS (File Transfer Protocol FileSystem) is an obsoleted Linux kernel module that allows the user to mount a FTP server onto the local filesystem".

The old implementation (ftpfs) was replaced by LUFS (UserLand FileSystem), which in turn was made obsolete by FUSE (Filesystem in Userspace).

Two ftpfs implementations exist today: fuseftp and lufis/ftpfs. Fuseftp is quite unusable IMO, and lufis is not supported by Arch LinuxTemplate:Linkrot -- but it is possible to make it work.

Fuseftp

Fuseftp is a FTP filesystem written in Perl, based on FUSE.

Installation

  • You can build itTemplate:Linkrot from the original package, or
  • get it from AUR. (It's still useful to install the dependencies with CPAN.)

Usage example

Mount:

# fuseftp /mnt/ftp_local/ ftp.example.com  --cache=memory --passive

Unmount:

# fusermount -u /mnt/ftp_local

Refer to the Fuseftp website for more examples and information.

LUFIS / ftpfs

To use LUFS modules with 2.6x kernel, You will need a bridge called LUFIS.

To install

  • Get LUFS tar.gz
  • ./configure, make, make install
  • Copy the "liblufs-ftpfs.so*" files from MAKEDIR/filesystems/ftpfs to /usr/lib
  • Install fuse (pacman -S fuse)
  • Get LUFIS tar.gz
  • ./configure, make, then copy lufis to /usr/bin

Usage example

Mount:

# lufis fs=ftpfs,host=ftp.exaple.com,username=USERNAME,password=ABCD /mnt/ftp_local/ -s

Unmount:

# fusermount -u /mnt/ftp_local