07-18-2020, 01:33 PM
The upload has been fixed in the linked pull request. The file is now converted to base64 before adding to the request. You can also set the chunk size in the api, so that a file change be uploaded in chunks. This is now exposed in the API. The default chunk size is 10Mb. There is also an offset counter which if fails, you could theoretically restart at that offset, however, this number is not available to the API function yet.
https://github.com/Southpaw-TACTIC/TACTI...089edc3764
Getting progress at the moment would be best done with chunks. At 10Mb chunks, a 1Gb file would have 100 "offsets" to query. Maybe, this could be done with calling the upload in a thread and then polling the thread somehow. Will have to test that.
https://github.com/Southpaw-TACTIC/TACTI...089edc3764
Getting progress at the moment would be best done with chunks. At 10Mb chunks, a 1Gb file would have 100 "offsets" to query. Maybe, this could be done with calling the upload in a thread and then polling the thread somehow. Will have to test that.