Programatically IPFS using Go

Hi,

Im new to IPFS and I would like to use it programatically using Go to transfer files between nodes. Is there a way to do it?

Thanks.

Here’s a tutorial for transferring files between nodes: https://github.com/ipfs/go-ipfs/blob/master/docs/file-transfer.md

You might also check out the http-api if you want to do this from within a webpage or something: https://github.com/ipfs/js-ipfs-http-client

Hi, Molly

Is Go documentation example programamatic? It seems it only works on console.

Im looking for something such as this:

ipfs = new Ipfs()

ipfs.connect()

response = ipfs.add(file)

Thanks;