---
title: "Getting & Putting files between servers (ncftp)"
date: "2009-04-16"
modified: "2013-03-28"
path: "/33-getting-putting-files-between-servers.html"
section: "/ramblings"
aliases:
  - "/33"
  - "/33-getting-putting-files-between-servers"
  - "/33.html"
  - "/blog/gettingputtingfilesbetweenservers"
  - "/ramblings/33-getting-putting-files-between-servers.html"
---

You'll need "ncftp" on which ever machine your using:

```
apt-get install ncftp
```

To get files from a server use:

```
ncftpget <authentication details> <remote host> <local files> <remote dir>
```

Specifically something like: `ncftpget -R -T -v -u site.co.uk ftp.site.co.uk ./ /public_html/*`

To put files onto a remote server use:

```
ncftpput <authentication details> <remote host> <remote files> <local dir>
```

Specifically something like:`ncftpput -R -T -v -u site.co.uk ftp.site.co.uk /public_html ./*`

The Linux man page for it [is here](http://linux.die.net/man/1/ncftp) and at the [IBM site here](http://www.ibm.com/developerworks/aix/library/au-ncftp_flex/).

<div class="box-info">If you get a message saying: <em>this does not look like a tar archive</em> simply add a new param "-T" which says to the application not to try a tar download of the files.</div>
