1

How to use vifm as FTP client?

I followed instructions here, but I'm confused. It's not intuitive. It doesn't tell where to put those script. Even this one doesn't tell to. I've tried to put the script in /home/user/.vifm/vifmrc and /home/user/.vifmrc, it still doesn't work. Anyone can give step by step instructions?

Mas Bagol
  • 1,311
  • 4
  • 21
  • 34
  • You're referring to the step by step instructions, but probably you're not very familiar with such configuration systems. `~/.vifm/vifmrc` is the right place to put `:filetype` command, it should take effect after you restart Vifm (simplest way to do it). Then it should work when you try to open `.ftp`-file, if not post the error you get. If file opens in Vim rather than connecting to a remote host, then your configuration isn't OK. To make sure you use the right file check output of `:echo $MYVIFMRC` command in Vifm. – xaizek Feb 23 '15 at 15:24

1 Answers1

0
  1. Install curlftpfs -- apt-get install curlftpfs
  2. Create file <ftp-file-name>.ftp
  3. Add following text to file: -o user=<username>:<password> <hostname>:
  4. Start vifm, navigate to your .ftp file and press [enter]
Samuel
  • 151
  • 1
  • 7