Skip to content

IPFS Add: Dynamic File Selection #1

@AustinFoss

Description

@AustinFoss

At the moment the ipfsAdd function in the server side main.js file adds a predefined file to the IPFS DHT P2P Network.

"ipfsAdd": function(addThis){
var result = ipfs.util.addFromFs('/home/eruguru/CreativeCommonPlace/client/IPFSLibrary/quasar.jpg');
// ipfs.util.addFromFs(addThis);
return (result);
},

The commented-out line refers the value of in the "ipfsAdd" template.

The goal is to have this line be the functional one and to move this code server side as it is now intended to be a stand alone file sharing app next to an active IPFS daemon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions