<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.vifm.info/index.php?action=history&amp;feed=atom&amp;title=How_to_browse_FTP_in_Vifm</id>
	<title>How to browse FTP in Vifm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vifm.info/index.php?action=history&amp;feed=atom&amp;title=How_to_browse_FTP_in_Vifm"/>
	<link rel="alternate" type="text/html" href="https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;action=history"/>
	<updated>2026-07-15T13:50:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;diff=285&amp;oldid=prev</id>
		<title>Xaizek: /* Configure Vifm to handle *.ftp files with CurlFtpFS */ Add link to vifmrc</title>
		<link rel="alternate" type="text/html" href="https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;diff=285&amp;oldid=prev"/>
		<updated>2015-02-23T15:19:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configure Vifm to handle *.ftp files with CurlFtpFS: &lt;/span&gt; Add link to vifmrc&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:19, 23 February 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Configure Vifm to handle &amp;lt;code&amp;gt;*.ftp&amp;lt;/code&amp;gt; files with CurlFtpFS ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Configure Vifm to handle &amp;lt;code&amp;gt;*.ftp&amp;lt;/code&amp;gt; files with CurlFtpFS ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sample command:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sample command &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;for [http://wiki.vifm.info/index.php?title=Configuration_model#Configuration_files vifmrc]&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;vim&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;vim&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Xaizek</name></author>
	</entry>
	<entry>
		<id>https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;diff=233&amp;oldid=prev</id>
		<title>Xaizek: Add HOWTO category</title>
		<link rel="alternate" type="text/html" href="https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;diff=233&amp;oldid=prev"/>
		<updated>2014-09-28T20:53:17Z</updated>

		<summary type="html">&lt;p&gt;Add HOWTO category&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:53, 28 September 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l69&quot; &gt;Line 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;use &amp;lt;code&amp;gt;fsname=NAME&amp;lt;/code&amp;gt; option of CurlFtpFS, don't forget to use that &amp;lt;code&amp;gt;NAME&amp;lt;/code&amp;gt; in&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;use &amp;lt;code&amp;gt;fsname=NAME&amp;lt;/code&amp;gt; option of CurlFtpFS, don't forget to use that &amp;lt;code&amp;gt;NAME&amp;lt;/code&amp;gt; in&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;'slowfs'&amp;lt;/code&amp;gt; option.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;'slowfs'&amp;lt;/code&amp;gt; option.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:HOWTO]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Xaizek</name></author>
	</entry>
	<entry>
		<id>https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;diff=48&amp;oldid=prev</id>
		<title>Xaizek: Initial version of the page</title>
		<link rel="alternate" type="text/html" href="https://wiki.vifm.info/index.php?title=How_to_browse_FTP_in_Vifm&amp;diff=48&amp;oldid=prev"/>
		<updated>2014-07-23T16:45:40Z</updated>

		<summary type="html">&lt;p&gt;Initial version of the page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Below is a tutorial on how to browse FTP servers in Vifm.  It's assumed that&lt;br /&gt;
some &amp;lt;code&amp;gt;*nix&amp;lt;/code&amp;gt;-like operating system with support of [https://en.wikipedia.org/wiki/FUSE_(Linux) FUSE] is used.  Special&lt;br /&gt;
files described below have &amp;lt;code&amp;gt;.ftp&amp;lt;/code&amp;gt; suffix, but it can be any other extension as well.&lt;br /&gt;
&lt;br /&gt;
=== Install CurlFtpFS ===&lt;br /&gt;
&lt;br /&gt;
Install it in whatever way you like the most, which probably depends on your operating&lt;br /&gt;
system distribution.  One can always obtain sources at&lt;br /&gt;
[http://curlftpfs.sourceforge.net/ the official site].&lt;br /&gt;
&lt;br /&gt;
=== Configure Vifm to handle &amp;lt;code&amp;gt;*.ftp&amp;lt;/code&amp;gt; files with CurlFtpFS ===&lt;br /&gt;
&lt;br /&gt;
Sample command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vim&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot; FtpMount&lt;br /&gt;
filetype *.ftp&lt;br /&gt;
       \ {Mount with CurlFtpFS}&lt;br /&gt;
       \ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %CLEAR,&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let's enumerate used options of CurlFtpFS:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;ftp_port=1&amp;lt;/code&amp;gt; - make CurlFtpFS pick the same IP address that is already used for the control connection;&lt;br /&gt;
* &amp;lt;code&amp;gt;,,&amp;lt;/code&amp;gt; is used to insert &amp;lt;code&amp;gt;,&amp;lt;/code&amp;gt; literally as it has special meaning in the argument list of &amp;lt;code&amp;gt;:filetype&amp;lt;/code&amp;gt; command (and &amp;lt;code&amp;gt;:filextype&amp;lt;/code&amp;gt;);&lt;br /&gt;
* &amp;lt;code&amp;gt;disable_eprt&amp;lt;/code&amp;gt; - tell CurlFtpFS to disable the use of the &amp;lt;code&amp;gt;EPRT&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;LPRT&amp;lt;/code&amp;gt; commands; it's there just for better connection performance.&lt;br /&gt;
&lt;br /&gt;
See [http://linux.die.net/man/1/curlftpfs man curlftpfs] for other options.&lt;br /&gt;
&lt;br /&gt;
=== Create &amp;lt;code&amp;gt;*.ftp&amp;lt;/code&amp;gt; file ===&lt;br /&gt;
&lt;br /&gt;
Create a file with &amp;lt;code&amp;gt;.ftp&amp;lt;/code&amp;gt; suffix for the server you're willing to connect to.&lt;br /&gt;
Say, it's name is &amp;lt;code&amp;gt;server-name.ftp&amp;lt;/code&amp;gt; and content is like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-o user=&amp;lt;user-name&amp;gt; &amp;lt;server-address&amp;gt;:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest example might be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat gnu.ftp&lt;br /&gt;
ftp.gnu.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Connect ===&lt;br /&gt;
&lt;br /&gt;
In a running instance of Vifm just navigate to the &amp;lt;code&amp;gt;.ftp&amp;lt;/code&amp;gt;-file and press &amp;lt;kbd&amp;gt;l&amp;lt;/kbd&amp;gt; or&lt;br /&gt;
&amp;lt;kbd&amp;gt;Enter&amp;lt;/kbd&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
Alternatively, one can pass path to &amp;lt;code&amp;gt;.ftp&amp;lt;/code&amp;gt;-file to Vifm on command-line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vifm gnu.ftp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will connect to remote server on Vifm's startup.&lt;br /&gt;
&lt;br /&gt;
=== Optimization ===&lt;br /&gt;
&lt;br /&gt;
Remote FTP servers might be slow to respond, that's why it's a good idea to ask&lt;br /&gt;
Vifm to reduce number of file-system queries in such directories.  It can be&lt;br /&gt;
done with the following option:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;vim&amp;quot;&amp;gt;&lt;br /&gt;
set slowfs=curlftpfs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;curlftpfs&amp;lt;/code&amp;gt; here is type of FUSE file-system as it's seen in [https://en.wikipedia.org/wiki/Mtab mtab].  So if you&lt;br /&gt;
use &amp;lt;code&amp;gt;fsname=NAME&amp;lt;/code&amp;gt; option of CurlFtpFS, don't forget to use that &amp;lt;code&amp;gt;NAME&amp;lt;/code&amp;gt; in&lt;br /&gt;
&amp;lt;code&amp;gt;'slowfs'&amp;lt;/code&amp;gt; option.&lt;/div&gt;</summary>
		<author><name>Xaizek</name></author>
	</entry>
</feed>