Pan!cKk
Download File in Chunks
What I want is to implement something that download a file part by part, and upload them to storage part by part...
Download Part 1, Upload Part 1
Continue Downloading the second part, Upload Part 2
...
How many parts are decided base on the total fileSize / some chunkSize (in bytes)
20 replies
Enum Capabilities
That did not really do the work for me. But I figured out I can use StringEnumConverter (Netwonsoft.Json) and it handles it well.
I can pass either the integer value or the string representation, and it knows how to parse it (on post request), and the response has the respective string representation.
May I ask if that is a good approach?
31 replies