I want to be able to transfer blocks of my file instead of the full file from my inorder application to transfer it more efficiently. What is the best way to do this?
Update
Here is an example of where I need this approach: Let's say I have a 4 GB file that I am trying to upload. If the network failed, my file download will stop and I will have to start from scratch. Instead, if I keep track of blocks that I have already transferred, I can continue with blocks that have not yet been transferred. This is especially important for weak network connections.
source share