Is there a way to split a large file into smaller chunks via Fusion?
The reason: What I'm trying to achieve is to upload a file into Dropbox via Fusion's HTTP connection. Dropbox's API has an endpoint "/upload" which suits for file under 150MB. For larger file (as it is in my case) they suggest to use combination of 3 endpoints:
To use those I need to split the file into chunks, but this seems impossible so far.
What I have tried so far: I've tried to use "Repeater" module which repeats as much times as the result of file size divided by the required chunk size. Then I've used substring() to get the binary file data splatted into chunks depending the Repeater's value. Something like this:
Unfortunately the result seems to be correct only for the first chunk:
Any ideas how to get this work? Or any other approaches?