GitHub user videni edited a discussion: How to use opendal to implement  
breakpoint resume upload and   Incremental upload ?

I checked the 
[multipart-upload](https://github.com/apache/opendal/tree/main/core/examples/multipart-upload)
 example. It seems not useful in my case.

# Use case 

A user  uploads large files,.

```
mobile device(client)   <->  Server side(opendal)   <->  OSS 
```

#  support  breakpoint resume upload

client splits large files  into small parts, each one has checksum, part no, 
part offset,  total size, client may upload  parts not sequentially. 

# Incremental upload

client may modify the  tail of the large file, he only needs to upload the last 
part, no need to upload all parts again.


# Same API for all providers, for example oss,  s3, fs.


# Question

How can I use  this API 
[MultipartWrite](https://docs.rs/opendal/0.52.0/opendal/raw/oio/trait.MultipartWrite.html#tymethod.write_part)?
 It seems it exists for advanced customization, but I don't find any example.


GitHub link: https://github.com/apache/opendal/discussions/5875

----
This is an automatically sent email for dev@opendal.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@opendal.apache.org

Reply via email to