-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi, thanks for building webdav-sync. It seems for current NPM version recursive sync is not working for me. Test case.
-
Create nested folder:
➜ Desktop mkdir folder0 ➜ Desktop mkdir folder0/subfolder{0,1,2} ➜ Desktop touch folder0/subfolder{0,1,2}/file{0,1,2} ➜ Desktop tree folder0 folder0 ├── subfolder0 │ ├── file0 │ ├── file1 │ └── file2 ├── subfolder1 │ ├── file0 │ ├── file1 │ └── file2 └── subfolder2 ├── file0 ├── file1 └── file2 -
Move folder to syncable dir:
➜ Desktop ls ~/files/ ➜ Desktop mv folder0 ~/files ■ [created] /folder0 Mon Dec 05 2016 12:15:02 GMT+0300 (MSK) curl --insecure -s -S -u user@server.com:password -X MKCOL "https://server.com/folder0" --verbose * Trying 127.0.0.1... * Connected to server.com (127.0.0.1) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 * Server certificate: *.server.com * Server certificate: DigiCert SHA2 Secure Server CA * Server certificate: DigiCert Global Root CA * Server auth using Basic with user 'user@server.com' > MKCOL /folder0 HTTP/1.1 > Host: server.com > Authorization: Basic xxxxxx==== > User-Agent: curl/7.49.1 > Accept: */* > < HTTP/1.1 201 Created < Server: nginx < Date: Mon, 05 Dec 2016 09:15:03 GMT < Content-Type: application/octet-stream < Content-Length: 0 < Connection: keep-alive < X-Request-Id: web6-3359141-1480929302-39 < X-Request-Id: web6-3359141-1480929302-40 < Location: https://server.com/folder0 < Pragma: no-cache < Cache-Control: no-cache < X-Frontend: frontend2 < X-UA-Compatible: IE=edge,chrome=1 < * Connection #0 to host server.com left intact -
Listing remote directory:
➜ Desktop tree /Volumes/server.com/folder0 /Volumes/server.com/folder0 0 directories, 0 files
¯_(ツ)_/¯
macOS 10.12, webdav-sync 0.5.0
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels