Also note that those files can’t be seen by rclone, which means it’s not possible to delete them using rclone delete --include .... Maybe one day rclone will have something like an on-interrupt hook? @ncw
Cool! So multipart uploaders generally have two options: (a) cancel the upload, or (b) save the progress in e.g. a file. If the latter is the case, rclone may need to standardize a pattern to do that.
Let’s have a go at a) first… Fancy having a go at extending the Atexit so you can unregister things? Register will need to return a handle which Unregister can remove.
Sounds pretty simple and should work! Previously I was thinking about keeping an uploading files list or something similar, which complicates the problem. I think I can do the extension, but it may be a few days before that. I’ll post a message before I start working on that.