# Which commands are implemented in the SFTP library

**URL:** <https://discourse.processing.org/t/which-commands-are-implemented-in-the-sftp-library/13914>\
**Category:** Libraries\
**Created:** [September 10, 2019, 3:58pm UTC](https://discourse.processing.org/t/which-commands-are-implemented-in-the-sftp-library/13914 "2019-09-10T15:58:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelkpierce](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michaelkpierce](https://discourse.processing.org/u/michaelkpierce)\
**Post date:** [September 10, 2019, 3:58pm UTC](https://discourse.processing.org/t/which-commands-are-implemented-in-the-sftp-library/13914/1 "2019-09-10T15:58:38Z")

</div>

Hi,  
I want to use this library to update a library of images in multiple remote raspberry pis. Can you tell which commands are implemented? In particular, can I write files from the local machine to a remote machines.

Thanks  
Michael

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [September 10, 2019, 6:46pm UTC](https://discourse.processing.org/t/which-commands-are-implemented-in-the-sftp-library/13914/2 "2019-09-10T18:46:13Z")

</div>

Taking a quick look at the example sketch:

> <https://github.com/shiffman/SFTP-Processing/blob/master/examples/sftp_test/sftp_test.pde#L24-L26>

…and at the source:

> <https://github.com/shiffman/SFTP-Processing/blob/master/src/sftp/Sftp.java#L81>

It lists:

> quit, exit, pwd, ls, get, version, help

Seems like you want to implement a library method:

```auto
if(cmds[0].equals("put")) {
  // ...
}

```
