Torsten Dreyer
b9cba13e32
Fix the root cause for terrasync.py timeouts
...
Thanks to Andre Coetzee for spotting.
Also, don't hardcode port 80, intead use the port given in the url
2016-06-06 12:17:12 +02:00
Torsten Dreyer
a93dd29c85
First attempt to handle the nasty socket timeout
...
Retry once if a http get fails
2016-05-25 16:19:36 +02:00
Torsten Dreyer
489be2ce16
Add user-agent request header
2016-05-18 15:14:59 +02:00
Torsten Dreyer
6921c98933
Much better terrasync.py
...
- tortellini instead of spaghetti code (use oop)
- reuse connection
2016-05-18 12:51:29 +02:00
Torsten Dreyer
e2afbb4678
terrasync.py: cleanup and add some more power
...
- add option --quick
check sha1sum of .dirindex files and skip directory if hash matches
- add option --remove-orphan
remove orphan files (files exist locally but not on server)
- be less verbose
- write .dirindex files locally
2016-05-11 23:04:24 +02:00
Torsten Dreyer
0c5e99504d
Move terrasync.py to /scripts/python
2016-05-11 14:59:36 +02:00