Comment on How to drop files from Android to home server?
Zeoic@lemmy.world 8 months ago
You could technically do this with Nextcloud, but that is definitely overkill just for a file drop.
The next best thing I can think of for this would be localsend with auto accept enabled.
hperrin@lemmy.world 8 months ago
You can’t really. Nextcloud requires a specific file structure. It’s not meant to serve ad-hoc directories.
Catsrules@lemmy.ml 8 months ago
You can add in local directory paths or file shares within your Nextcloud home directory.
hperrin@lemmy.world 8 months ago
Ah, ok. And it works when something outside Nextcloud changes the files?
Catsrules@lemmy.ml 8 months ago
Yes but it has limitations/risks that could be a deal killer depending on your use case.
When a file changes externally, Nextcloud doesn’t know about the the changes until it looks at the file. It only looks when a user access that location within Nextcloud or during a automatic file scan.
The only time I have had issues with it is using a Nextcloud desktop client and, as files are cached locally on the desktop and the client doesn’t live query the server when you view the files locally.
Changes made externally of Nextcloud won’t get updated on desktop clients until Nextcloud looks at the file an realizes a change happened.
This can be very annoying but also dangerous as you are at risk of editing an outdated file. For example if you edit a file via SMB and then edit the same file again on a desktop clients. The desktop clients won’t have the new file with the B changes. So you risk overwriteing the files with an old version.