Manually download files and extract them

Hi!

I’d like to manually download ZIP, RAR, TAR files without using ocDownloader application. I just want to download files with either wget or curl in CLI directly into the Nextcloud data folder.

I can freely “cd” into the encrypted Nextcloud root data directory and I can download and unpack compressed files, but they aren’t shown in Web GUI, but they do exist when I type “ls”. I think that Nextcloud logs files in some directory after adding them using Nextcloud. I also checked for permissions and they seem to be OK.

Is there anyone here who tried something like this?

You shouldn’t not manually make changes in the data-folder directly. Especially when encryption is enabled. Use external storage for this where Nextcloud can expect other programs/processes changing files.