We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TL;DR: When using in a node script, some options will be required, although they shouldn't be.
Explanation:
Script 1 Here is my script:
var options = { local_base: "base", remote_base: "http://localhost:1234/location", username: "admin", password: "admin", }; var sync = webdavSync(options);
When running I get:
■ [CONNECTION TEST] /bin/sh: undefined: command not found
The program will exit as soon as there is a file to sync
Script 2 Here is my script:
var options = { local_base: "base", remote_base: "http://localhost:1234/location", username: "admin", password: "admin", curl: 'curl --insecure -s -S' }; var sync = webdavSync(options);
■ [CONNECTION TEST]
.../lone-star/.../node_modules/webdav-sync/lib/webdav_sync.js:195 return __indexOf.call(options.ignored, path) >= 0;
Script 3 Here is my script:
var options = { local_base: "base", remote_base: "http://localhost:1234/location", username: "admin", password: "admin", curl: 'curl --insecure -s -S', ignored: '' }; var sync = webdavSync(options);
The program will successfully sync.
The text was updated successfully, but these errors were encountered:
You're saying that it seems some fields are required when they need not be?
Sorry, something went wrong.
No branches or pull requests
TL;DR: When using in a node script, some options will be required, although they shouldn't be.
Explanation:
Script 1
Here is my script:
When running I get:
The program will exit as soon as there is a file to sync
Script 2
Here is my script:
When running I get:
The program will exit as soon as there is a file to sync
Script 3
Here is my script:
When running I get:
The program will successfully sync.
The text was updated successfully, but these errors were encountered: