Open ItsOnlyBinary opened 1 week ago
I already knew that a hardcoded timeout is not a good idea 😅 I'm going to make it configurable, but don't expect any progress before end of October due to other obligations.
:) no rush for me, I managed to build it with hardcoded 60 seconds (was a fun journey as it seems the docs for windows are a little outdated). Unfortunately I do not know c++ enough to actually create a pr to add the option.
Summary
The remote sync code has a hard coded 10 second wait time before killing the process. This is not long enough when the command is talking to a slower server which is performing multiple steps (protocol negotiation + database lookups + response time)
Please expose a configuration option for waitForFinished here and here
With this increased it is possible to sync with NextCloud using curl.
@t-h-e You have my thanks and appreciation for adding the one feature, holding me back from switching over. :)
Examples
Example commands for syncing with NextCloud using a directory shared with a password:
download:
upload: