Our department is deploying Kaspersky Anti-Virus. As a result of installing on my Windows 7 workstation, active FTP is automatically disabled.
I have modified _vimrc as follows:
let g:netrw_cygwin = 0
let g:netrw_scp_cmd =
"\"C:\\Windows\\system32\\ftp.exe -s:C:\\Users\\Cnorton.Arlington1\\vim_ftp.txt "
vim_ftp.txt contains this:
quote PASV
After that, I'm still getting this error:
PORT/EPRT (Active Mode/Extended Active Mode) is not supported. Use PASV/EPSV instead of this
How can I configure ftp to use passive, so I don't get this error?
Incidentally, I have version 7 vim (gvim), but a beta version, running on CentOS. The system is the same remote system I'm trying to reach from my Windows system. The ftp command on that system completes without error. I don't know if that's because it's an ftp command on the same host.
Edit:
OK. I understand not to use the default Windows ftp.exe. So, this is how I'm trying to configure VanDyke's command line version of SecureFx, called sfxcl:
I've made one more modification using sfxcl,
let g:netrw_cygwin = 0
let g:netrw_scp_cmd = "\"C:\\Program Files\\VanDyke Software\\Clients\\sfxcl.exe\" "
and it works on the command line, but not in Vim. I get the same active message, so I believe I'm screwing up something in Vim. I just cannot figure out what that is.
vim_ftp.txt
.