Skip to content
New issue

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

file sync up: Cannot upload files when -local-path is just a name of a file or folder #429

Closed
watermint opened this issue Aug 31, 2020 · 0 comments
Labels

Comments

@watermint
Copy link
Owner

watermint commented Aug 31, 2020

$ ./tbx file sync up -local-path tbx-73.2.565.zip -dropbox-path /2020-08-31

watermint toolbox 73.0.20200828031906
=====================================

© 2016-2020 Takayuki Okazaki
Licensed under open source licenses. Use the `license` command for more detail.

Testing network connection...
Trying...
Done


| upload_start                        | upload_end                          | num_bytes | num_files_error | num_files_upload | num_files_skip | num_api_call |
|-------------------------------------|-------------------------------------|-----------|-----------------|------------------|----------------|--------------|
| 2020-08-31T18:17:19.378080123+09:00 | 2020-08-31T18:17:19.378433055+09:00 | 0         | 1               | 0                | 0              | 0            |

Log

{"level":"DEBUG","time":"2020-08-31T18:17:19.378+0900","name":"z888.z890.z1035","caller":"file/upload_worker.go:43","msg":"unable to calculate rel path","dropboxBasePath":"/2020-08-31","localBasePath":"tbx-73.2.565.zip","localFilePath":"tbx-73.2.565.zip","error":"target path is shorter than base path"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant