I have a index.php file, stored in the folder Test.
I put my SFTP settings in vimrc and in a config file in the Test folder of the editted file, called 'configs'.
The settings are:
let g:vim_sftp_configs = {
\ 'sample_server_1' : {
\ 'upload_on_save' : 1,
\ 'download_on_open' : 0,
\ 'confirm_downloads': 1,
\ 'confirm_uploads' : 0,
\ 'local_base_path' : '/Users/Rene Froger/Desktop/Test/',
\ 'remote_base_path' : '/httpdocs/',
\ 'sftp_command' : 'ftp',
\ 'user' : 'xxxxxxxx',
\ 'pass' : 'xxxxxxxx',
\ 'host' : 'xxxxx'
\ }
}
I use as command: :call SftpUpload()
Then I get the message "Remote config not found". What went wrong here?
I have a index.php file, stored in the folder Test.
I put my SFTP settings in vimrc and in a config file in the Test folder of the editted file, called 'configs'.
The settings are:
let g:vim_sftp_configs = {
\ 'sample_server_1' : {
\ 'upload_on_save' : 1,
\ 'download_on_open' : 0,
\ 'confirm_downloads': 1,
\ 'confirm_uploads' : 0,
\ 'local_base_path' : '/Users/Rene Froger/Desktop/Test/',
\ 'remote_base_path' : '/httpdocs/',
\ 'sftp_command' : 'ftp',
\ 'user' : 'xxxxxxxx',
\ 'pass' : 'xxxxxxxx',
\ 'host' : 'xxxxx'
\ }
}
I use as command: :call SftpUpload()
Then I get the message "Remote config not found". What went wrong here?