File upload without reading its full contents to the memory

SOLVED
Go to solution
Highlighted
First-time Contributor

File upload without reading its full contents to the memory

Hi!
I'm writing an iOS app that uses BOX. I have files of random type and size. They are NOT situated on local FS. That's why I have only one suitable upload request initializer - [BOXFileUploadRequest initWithName:targetFolderID:data:]. But it's a bad idea to load pretty big files into memory and pass them as NSData to the initializer.
Is it possible in my situation to upload files by chunks, or stream them without reading full contents to the memory?
Thank you in advance.

2 REPLIES 2
Highlighted
First-time Contributor

Re: File upload without reading its full contents to the memory

I am also very interested to know whether this is possible, or if there are plans to support this.

Highlighted
Box Employee

Re: File upload without reading its full contents to the memory

@3FEGO @schwabr Thanks for the feedback. It's currently not possible to upload a file in chunks.  The feature is on our roadmap, but we don't have a definite timeline to share.