Difference between revisions of "FtpFs"

From ArchWiki
Jump to: navigation, search
m
m (Installation)
(19 intermediate revisions by 13 users not shown)
Line 1: Line 1:
== What is FTPFS? ==
+
[[Category:File systems]]
 +
From [http://en.wikipedia.org/wiki/FTPFS Wikipedia]:
 +
:"[http://ftpfs.sourceforge.net/ FTPFS] (File Transfer Protocol FileSystem) is an obsoleted Linux kernel module that allows the user to ''mount a FTP server onto the local filesystem''".
  
From [http://en.wikipedia.org/wiki/FTPFS Wikipedia]: "[http://ftpfs.sourceforge.net/ 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 [http://lufs.sourceforge.net/ LUFS] (UserLand FileSystem), which in turn was made obsolete by [http://fuse.sourceforge.net/ FUSE] (Filesystem in Userspace).
 
The old implementation (ftpfs) was replaced by [http://lufs.sourceforge.net/ LUFS] (UserLand FileSystem), which in turn was made obsolete by [http://fuse.sourceforge.net/ FUSE] (Filesystem in Userspace).
  
Two ftpfs implementations exist today: '''fuseftp''' and '''lufis/ftpfs'''. Fuseftp is quite unusable IMO, and lufis is [http://bbs.archlinux.org/viewtopic.php?t=9946 not supported by Arch Linux] -- but it is possible to make it work.
+
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.
 +
 
 +
'''Note:''' the recommended way to mount ftp is [[Mount FTP|with curlftpfs]].
  
 
== Fuseftp ==
 
== Fuseftp ==
[http://wiki.thiesen.org/page/Fuseftp Fuseftp] is [http://fuse.sourceforge.net/wiki/index.php/FileSystems#FuseFTP is a FTP filesystem written in Perl], based on FUSE.
+
[http://freshmeat.net/projects/fuseftp/ Fuseftp] is a FTP filesystem written in Perl, based on FUSE.
  
===To install===
+
===Installation===
* You can [http://wiki.thiesen.org/page/Fuseftp#Installation build it] from the original package, or
+
You can get it from the [https://aur.archlinux.org/packages.php?do_Details=1&ID=3069 AUR]. It's 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)
+
  
 
===Usage example===
 
===Usage example===
mount: fuseftp /mnt/ftp_local/ ftp.example.com  --cache=memory --passive
+
Mount:
 
+
# fuseftp /mnt/ftp_local/ ftp.example.com  --cache=memory --passive
unmount: fusermount -u /mnt/ftp_local
+
Unmount:
 +
# fusermount -u /mnt/ftp_local
  
 
Refer to the Fuseftp website for more examples and information.
 
Refer to the Fuseftp website for more examples and information.
Line 24: Line 27:
  
 
===To install===
 
===To install===
* get LUFS [http://prdownloads.sourceforge.net/lufs/lufs-0.9.7.tar.gz?download tar.gz]
+
* Get LUFS [http://prdownloads.sourceforge.net/lufs/lufs-0.9.7.tar.gz?download tar.gz]
* ./configure, make, make install
+
* <code>./configure</code>, <code>make</code>, <code>make install</code>
* copy the "liblufs-ftpfs.so*" files from MAKEDIR/filesystems/ftpfs to /usr/lib
+
* Copy the "liblufs-ftpfs.so*" files from MAKEDIR/filesystems/ftpfs to /usr/lib
* install fuse [pacman -S fuse]
+
* Install fuse (<code>pacman -S fuse</code>)
* get LUFIS [http://prdownloads.sourceforge.net/fuse/lufis-0.3.tar.gz?download tar.gz]
+
* Get LUFIS [http://prdownloads.sourceforge.net/fuse/lufis-0.3.tar.gz?download tar.gz]
* ./configure, make, than copy lufis to /usr/bin
+
* <code>./configure</code>, <code>make</code>, then copy lufis to /usr/bin
  
 
===Usage example===
 
===Usage example===
mount: lufis fs=ftpfs,host=ftp.exaple.com,username=USERNAME,password=ABCD /mnt/ftp_local/ -s
+
Mount:
 
+
# lufis fs=ftpfs,host=ftp.exaple.com,username=USERNAME,password=ABCD /mnt/ftp_local/ -s
unmount: fusermount -u /mnt/ftp_local
+
Unmount:
 +
# fusermount -u /mnt/ftp_local

Revision as of 17:08, 26 September 2012

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.

Note: the recommended way to mount ftp is with curlftpfs.

Fuseftp

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

Installation

You can get it from the AUR. It's 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