hi guys! what about some feature like "https://whatever.com:12345/dl?file=whatever.pdf&folder=whatever&hash=gz7z8hi8z9he9fh3b4
would this be complicated to implement?
hi guys! what about some feature like "https://whatever.com:12345/dl?file=whatever.pdf&folder=whatever&hash=gz7z8hi8z9he9fh3b4
would this be complicated to implement?
Itās been discussed a few times, here and on Github. Itās out of scope for Syncthing. Here are some links to get you started.
I know - I already installed pydio for that purpose but got some right problems And honestly I donāt know why using a āthirdā party tool, when using syncthing for up- & download and syncing
I think Iāve explained why a few times already in those threadsā¦
To add some extra thoughts:
Syncthing can establish a connection so long as one of the parties can establish a connection to another. This means that one of the two devices can be completely inaccessible from the outside world (e.g. UPnP is unavailable, no port forwarding), and a connection can still be established.
A direct file download will require that a connection to the machine hosting the download can be established, which is less of a sure thing. You might have a situation where two devices can successfully synchronise, but you canāt download from one of them: thatās going to confuse people. Dropbox gets away with it because itās centralised: thereās always an online central server. Syncthing doesnāt have that luxury (by design).
Similarly, Syncthing copes with devices going offline, and thatās fine. A direct file download wonāt cope.
Now, the more Syncthing-esque way to do this would be to have folders (or individual files within folders) that can be shared (i.e. synced to Syncthing devices) without explicit permission being given: just having a magic number is enough. BTSync allows this. There have been discussions on this in the past: dig through the forums or github issues.
Syncthing already has a web GUI with a web server. We could download files from this server if it supported file URLs.