when i use web api (https://manual.seafile.com/develop/web_api.html#upload-file) to upload a file into my seafile repo (seafile on my server), this file is (by default) automatically encrypted?
What is the key for encyrpting? Where is stored?
When i use the web api to download this file, i have a return with url file. it is right?
I want that all file uploaded on seafile (web api and webportal) are encrypted and not visibile on server.
It is by default in Seafile?
Seafile take uploaded file’s content a split it to blocks. These blocks are versioned so if you change some part of file it duplicate only edited block and not whole file(saving disk space and HW).
So there is no folder in you server where you can easily access all files. You have to find all blocks and join them together.
These blocks are saved to data folder which you setup in installation process. This folder can look like this:
I don’t know in which folder are content blocks. in commits folder are files with informations about changes. Maybe in Storage folder are the blocks. If you delete file, his blocks are still presented but file is mark as deleted(they are in trash), seaf-gc.sh script clear this blocks to free disk space.
I’m saying you It’s not easy to find right blocks. Just delete files over API and run seaf-gc.sh
EDIT: And mainly you can destroy file structure. Just don’t touch seafile data folder (except temp folders like httptemp), use existing ways. I’m not tell you these way just for make your work harder I have reason