uploadcare / uploadcare-ios

UploadcareKit: iOS SDK for Uploadcare API
http://uploadcare.com/
MIT License
25 stars 16 forks source link

Support for resumable uploads #24

Open heyzooi opened 7 years ago

heyzooi commented 7 years ago

Support for resumable uploads

dmitry-mukhin commented 7 years ago

Can you please elaborate? At the moment Upload API does not support this, so, probably, it's impossible to do that in the client. But I want to know what you want here specifically.

heyzooi commented 7 years ago

Using the Content-Range HTTP header the client could ask the server how much of a file was stored, so the client could send only the missing part of the file, instead of try send the entire file again. This is very important for real case scenarios on mobile devices where the network is sometimes unstable (losing many packages) or slow quite often.

heyzooi commented 7 years ago

Yeah, i know the server does not support. I tried to implement in the client, but I would need support for this feature in the server side.

heyzooi commented 7 years ago

This also could be a way to upload big files in chunks.

rsedykh commented 4 years ago

@heyzooi jfyi, I know it's maybe way past late, but we'll try to do it in uploadcare-swift. :-)