Skip to content

IPFS Add: Dynamic File Selection #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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