When using fuse with vifm, I do things like this
filetype *.ftp FUSE_MOUNT2|curlftpfs %PARAM %DESTINATION_DIR
and I have a file server.ftp containing the url of the server.
My problem is that I use servers wanting passive connection and others wanting active connections.
So now I must do
" passive ftp (default)
filetype .ftp FUSE_MOUNT2|curlftpfs %PARAM %DESTINATION_DIR
" active ftp
filetype .active.ftp FUSE_MOUNT2|curlftpfs %PARAM %DESTINATION_DIR -o ftp_port=-,disable_eprt
As the second case (active mode is rare), I would prefer to specify the option in the ftp file with something like
filetype *.ftp FUSE_MOUNT2|curlftpfs %OPTIONS %PARAM %DESTINATION_DIR
and in ftp file
first line: url
second line: options
Do you think it could be possible without breaking other uses of vifm and fuse.
By the way, while thinking about this I wanted to look in the help. I didn't find anything about fuse (except fusehome option). Did I miss something?