FTP links in F2 meunu file ?

MK halfcountplus at intergate.com
Sun Aug 16 18:17:07 UTC 2009


>Following on from this, it would be nice to be able to store the ftpfs 
>logon details in a configuration file.
>
>Save having to remember the syntax and host:username:password strings.
>Would this be possible?

It is.  If the hotlist entry is just this:

/#ftp:ftp.somplace.com

with no user or password, you can add this to ~/.netrc:

machine ftp.someplace.com login myusername password mypassword

And mc will use that (actually, it's "ftp" that uses it, but mc uses 
ftp).





More information about the mc mailing list