Here is what I would like to do. I have a remote FTP server that I can store files on. I want to be able to mount this as a folder in linux and everything I put on there will be stored encrypted on the FTP server.
It would be nice if this could cache the files locally, up to a certain amount of space.
- Mount filesystem locally (using FUSE would be the most likely candidate)
- Connects to remote FTP
- Files are encrypted (both contents and name) before uploading and decrypted after downloading
What I have tried.
- Cache files (set a size in MB of how big of a cache to keep)
- Set files to always stay in cache
- Set transfer speed limits
The closest I have come is to use curlftpfs to mount the FTP as a local folder. Then use encfs to mount an encrypted folder that stores files to the folder mounted by curlftpfs.
This works okay, but fails a lot on transfers, also curlftpfs doesn't seem to do any caching.
Anyone come across any software that can do this?