This plugin enables downloading and uploading files via FTP using vim editor.
Write your FTP settings in the .vimrc file like the following:
let g:ftp_conf = {
\ 'local_base_path' : '/home/name/sample/',
\ 'local_backup_path' : '/home/name/undo/',
\ 'remote_base_path' : '/var/www/sample/',
\ 'user' : 'username',
\ 'pass' : 'password',
\ 'host' : '127.0.0.1',
\ 'silent' : 0
\ }:call Download()- download current file:call Upload()- upload current file:call DownloadAny('file.txt')- download any file:call UploadAny('file.txt')- upload any file:call DownloadAllBuffers()- download files in all opened buffers:call UploadAllBuffers()- upload files in all opened buffers:call DownloadAllTabs()- download files in all opened tabs:call UploadAllTabs()- upload files in all opened tabsTab- open new file with backupClose- close current tab with backupCloseAll- close all opened tabs with backup