{"action":"created","issue":{"url":"https://api.github.com/repos/Tigge/antfs-cli/issues/169","repository_url":"https://api.github.com/repos/Tigge/antfs-cli","labels_url":"https://api.github.com/repos/Tigge/antfs-cli/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/Tigge/antfs-cli/issues/169/comments","events_url":"https://api.github.com/repos/Tigge/antfs-cli/issues/169/events","html_url":"https://github.com/Tigge/antfs-cli/issues/169","id":252385971,"number":169,"title":"Resume partially completed transfers","user":{"login":"patrickremy","id":10849574,"avatar_url":"https://avatars3.githubusercontent.com/u/10849574?v=4","gravatar_id":"","url":"https://api.github.com/users/patrickremy","html_url":"https://github.com/patrickremy","followers_url":"https://api.github.com/users/patrickremy/followers","following_url":"https://api.github.com/users/patrickremy/following{/other_user}","gists_url":"https://api.github.com/users/patrickremy/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickremy/subscriptions","organizations_url":"https://api.github.com/users/patrickremy/orgs","repos_url":"https://api.github.com/users/patrickremy/repos","events_url":"https://api.github.com/users/patrickremy/events{/privacy}","received_events_url":"https://api.github.com/users/patrickremy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-23T19:09:36Z","updated_at":"2017-08-23T20:20:16Z","closed_at":null,"body":"Hi,\r\n\r\nthanks a lot for this project : it's enabled me to use Windows even less !\r\n\r\nI was wondering whether you had looked into adding the ability to resume partially completed transfers. It would be nice to have that to help with the download failures I get on a regular basis. Do you know whether it is supposed to be supported by the Garmin watches ? I'd rather not spend too much time on that if we already know Garmins do not support it.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Tigge/antfs-cli/issues/comments/324450815","html_url":"https://github.com/Tigge/antfs-cli/issues/169#issuecomment-324450815","issue_url":"https://api.github.com/repos/Tigge/antfs-cli/issues/169","id":324450815,"user":{"login":"Tigge","id":182388,"avatar_url":"https://avatars1.githubusercontent.com/u/182388?v=4","gravatar_id":"","url":"https://api.github.com/users/Tigge","html_url":"https://github.com/Tigge","followers_url":"https://api.github.com/users/Tigge/followers","following_url":"https://api.github.com/users/Tigge/following{/other_user}","gists_url":"https://api.github.com/users/Tigge/gists{/gist_id}","starred_url":"https://api.github.com/users/Tigge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tigge/subscriptions","organizations_url":"https://api.github.com/users/Tigge/orgs","repos_url":"https://api.github.com/users/Tigge/repos","events_url":"https://api.github.com/users/Tigge/events{/privacy}","received_events_url":"https://api.github.com/users/Tigge/received_events","type":"User","site_admin":false},"created_at":"2017-08-23T20:20:16Z","updated_at":"2017-08-23T20:20:16Z","body":"Thank you! It is absolutely possible to have it resume failed downloads.\r\n\r\nThere are a lot more that could be done with regards to error recovery, right now it just aborts everything and fails with an error, if it fails during a packet transfer it could try to resend it, or if the connection breaks it could reestablish (this would work a bit different depending on the error and where it occurs.\r\n\r\nThe other thing that could be done is to save whatever has been downloaded already while the transfer is still ongoing (perhaps to a temporary file) and if the program exits for some reason it could resume from that point when we run it again.\r\n\r\nBoth of these things should probably be (at least mostly) done in the https://github.com/Tigge/openant project."}}
{"actor":{"display_login":"Tigge"}}