0

This post is related to a SuperUser post I entered recently. I am re-asking the question here, because I feel either rebuilding vim or advanced configuration may be involved.

I'm trying to configure vim to use passive ftp when I enter an edit command like

: e ftp://ics@steamboy//home/ics/.bashrc

Right now I get an error indicating our Kaspersky anti-virus is preventing active ftp.

I believe that vim 7.4 has ftp already built into it. I have searched vim help to see if there are variables that can be set to use a a different command line ftp client, like passive_ftp. I could not find anything except to set an scp client.

Any suggestions to fix this or information links would be appreciated.

Community
  • 1
  • 1
octopusgrabbus
  • 10,555
  • 15
  • 68
  • 131

1 Answers1

1

Vim does not have ftp client built in, AFAIK; it's all netrw calling various *NIX utilities. As for variables... in the same table where there's the variable for scp client, there's also variables for all other protocols' clients:

:help g:netrw_ftp_cmd

So basically you could do this in your .vimrc:

let g:netrw_ftp_cmd="your_command --your_switches"
Amadan
  • 191,408
  • 23
  • 240
  • 301