Difference between revisions of "FtpFs"

From ArchWiki
Jump to: navigation, search
(initial post)
 
((you need this on gentoo too :))
Line 21: Line 21:
  
 
== LUFIS / ftpfs ==
 
== LUFIS / ftpfs ==
To use LUFS modules with 2.6x kernel (at least on Arch), You will need a bridge called [http://sourceforge.net/project/showfiles.php?group_id=121684&package_id=132803 LUFIS].
+
To use LUFS modules with 2.6x kernel, You will need a bridge called [http://sourceforge.net/project/showfiles.php?group_id=121684&package_id=132803 LUFIS].
  
 
===To install===
 
===To install===

Revision as of 16:07, 19 January 2006

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 Linux -- but it is possible to make it work.

Fuseftp

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

To install

  • You can build it 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, than copy lufis it 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