Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Build folder structures given path with names. #4

Closed
@travisperson

Description

@travisperson

This will be possible given #3 is incorporated. Folder sturctures can be send to IFPS by nesting multipart/form-data structures into a single part.

Example request:

User-Agent: /node-ipfs-webui/0.1.0
Content-Type: multipart/form-data; boundary=knyfc6alrmu9dx6rfis020litgknvcxr

--knyfc6alrmu9dx6rfis020litgknvcxr
Content-Type: multipart/form-data; boundary=lugqob2u0zjb57b9nz5l6ggohxrjxlxr
Content-Disposition: folder; name="folder"; filename="afolder"

--lugqob2u0zjb57b9nz5l6ggohxrjxlxr
Content-Type: application/octet-stream
Content-Disposition: file; name="file"; filename="FileA.txt"

A file inside of a folder!
--lugqob2u0zjb57b9nz5l6ggohxrjxlxr
Content-Type: application/octet-stream
Content-Disposition: file; name="file"; filename="FileB.txt"

Another file inside of a folder!
--lugqob2u0zjb57b9nz5l6ggohxrjxlxr--
--knyfc6alrmu9dx6rfis020litgknvcxr--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions