# Programatically IPFS using Go

**URL:** https://discuss.ipfs.tech/t/programatically-ipfs-using-go/5365
**Category:** Kubo
**Tags:** go-ipfs
**Created:** [May 8, 2019, 2:19pm UTC](https://discuss.ipfs.tech/t/programatically-ipfs-using-go/5365 "2019-05-08T14:19:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![VitorCioletti](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/vitorcioletti/32/2297_2.png) [@VitorCioletti](https://discuss.ipfs.tech/u/VitorCioletti)
#### Post date: [May 8, 2019, 2:19pm UTC](https://discuss.ipfs.tech/t/programatically-ipfs-using-go/5365/1 "2019-05-08T14:19:36Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![molly](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/molly/32/1834_2.png) [@molly](https://discuss.ipfs.tech/u/molly)
#### Post date: [May 11, 2019, 12:49am UTC](https://discuss.ipfs.tech/t/programatically-ipfs-using-go/5365/2 "2019-05-11T00:49:28Z")

</div>

Here’s a tutorial for transferring files between nodes: [https://github.com/ipfs/go-ipfs/blob/master/docs/file-transfer.md](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](https://github.com/ipfs/js-ipfs-http-client)

---

<div class="post-metadata">

### Author: ![VitorCioletti](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/vitorcioletti/32/2297_2.png) [@VitorCioletti](https://discuss.ipfs.tech/u/VitorCioletti)
#### Post date: [May 13, 2019, 12:13pm UTC](https://discuss.ipfs.tech/t/programatically-ipfs-using-go/5365/3 "2019-05-13T12:13:11Z")

</div>

Hi, Molly

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

Im looking for something such as this:

```auto
ipfs = new Ipfs()

ipfs.connect()

response = ipfs.add(file)

```

Thanks;
