<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; ftp</title> <atom:link href="https://bogdan.org.ua/tags/ftp/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Using FTP usernames with @-symbol in midnight commander</title><link>https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html</link> <comments>https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html#comments</comments> <pubDate>Thu, 07 May 2009 12:44:07 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[ftp]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[mc]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=691</guid> <description><![CDATA[MC is a console file manager. It supports FTP connections, and in my experience is faster in FTP than both Krusader and Gnome Commander. However, the default FTP connection format string [username[:password]@]hostname has a drawback of not allowing the use of usernames with &#8216;@&#8217;-symbol in them &#8211; which is very common for virtual hostings. One [&#8230;]]]></description> <content:encoded><![CDATA[<p><abbr
title="midnight commander">MC</abbr> is a console file manager. It supports FTP connections, and in my experience is faster in FTP than both Krusader and Gnome Commander.</p><p>However, the default FTP connection format string [username[:password]@]hostname has a drawback of not allowing the use of usernames with &#8216;@&#8217;-symbol in them &#8211; which is very common for virtual hostings.</p><p>One of the solutions is (done in your home directory):</p><ol><li>if there is no <strong>.netrc</strong> file in your home directory &#8212; <strong>touch  .netrc &#038;&#038; chmod 600  .netrc</strong></li><li><strong>mcedit  .netrc</strong> (or use vi, nano, or any other editor you prefer)</li><li>add the following line to the file (replace all-caps words with your actual credentials): <strong>machine HOSTNAME login USER@HOSTNAME password PASSWORD</strong></li></ol><p>Now, start MC, choose FTP connect, and enter only the hostname. You will be automatically logged in to the remote FTP.<br
/> This will also work for console ftp clients like lftp.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&amp;linkname=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2009%2F05%2F07%2Fusing-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html&#038;title=Using%20FTP%20usernames%20with%20%40-symbol%20in%20midnight%20commander" data-a2a-url="https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html" data-a2a-title="Using FTP usernames with @-symbol in midnight commander"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2009/05/07/using-ftp-usernames-with-at-symbol-mc-midnight-commander-how-to.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>