Uploading file(s) API

I could do with some guidance on use of the API to upload a file, or ideally a directory tree and obtain a list of the xor address for each uploaded file.

I’ve written an app which can do the upload using the FilesUploader::start_upload() API that successfully uploads a tree, but cannot find a way to obtain the xor addresses for the datamap for each path in the tree.

The ChunkManager used internally in this process has this information but it is not included in the UploadSummary returned to the app.

I suspect I’m using the wrong APIs so what would be the recommended way for an app to do this?

1 Like

hmm cc @bochaco on this, I’m not sure myself.

Thanks Josh, this is now being looked into here:

Fixed:

2 Likes

This topic was automatically closed after 60 days. New replies are no longer allowed.