Created
July 12, 2017 08:04
-
-
Save slav123/ee4c8e61581a79fee45214c816717ce4 to your computer and use it in GitHub Desktop.
mc FTP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ‘@’-symbol in them – which is very common for virtual hostings. | |
One of the solutions is (done in your home directory): | |
if there is no .netrc file in your home directory — touch .netrc && chmod 600 .netrc | |
mcedit .netrc (or use vi, nano, or any other editor you prefer) | |
add the following line to the file (replace all-caps words with your actual credentials): machine HOSTNAME login USER@HOSTNAME password PASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment