# Legato and SFTP

**URL:** <https://forum.legato.io/t/legato-and-sftp/2823>\
**Category:** Legato Application Framework\
**Created:** [November 28, 2017, 8:45pm UTC](https://forum.legato.io/t/legato-and-sftp/2823 "2017-11-28T20:45:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![griggs](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@griggs](https://forum.legato.io/u/griggs)\
**Post date:** [November 28, 2017, 8:45pm UTC](https://forum.legato.io/t/legato-and-sftp/2823/1 "2017-11-28T20:45:33Z")

</div>

The app I am working on will require the ability to download large files (~ 2 meg) using SFTP. I know Legato supports libcurl, but does that support extend to SFTP? The WP76xx is simply being used as a “data mule” allowing connection to a remote server, handling the TCP overhead with the data being passed between the server and a local PIC32 which acts as a router/concentrator for custom devices.

Thanks!

---

<div class="post-metadata">

**Author:** ![lotam](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lotam](https://forum.legato.io/u/lotam)\
**Post date:** [November 29, 2017, 3:34pm UTC](https://forum.legato.io/t/legato-and-sftp/2823/2 "2017-11-29T15:34:39Z")

</div>

Please refer to previous topic:

> [@Yocto, cURL and SFTP](http://forum.legato.io/t/yocto-curl-and-sftp/2734/4):
>
> So I got this working last week, and thought I would post a reply for the benefit of anyone else trying to get the same (or similar) working with Legato. I did this using a Linux virtual machine. I am using a MangOH green. 1. Download source. The Linux source that I downloaded is located at: [https://source.sierrawireless.com/resources/legato/downloads/](https://source.sierrawireless.com/resources/legato/downloads/) I downloaded the source file SWI9X15Y\_07.12.09.00 2. Modify curl recipe Browse to ./yocto/poky/meta/recipes-support/curl/curl\_7.37.1.bb A…

Hope it helps.

---

<div class="post-metadata">

**Author:** ![outbackdingo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/outbackdingo/32/293_2.png) [@outbackdingo](https://forum.legato.io/u/outbackdingo)\
**Post date:** [December 16, 2017, 4:20pm UTC](https://forum.legato.io/t/legato-and-sftp/2823/3 "2017-12-16T16:20:26Z")

</div>

nice write up however a curiousity has come to mind.  
will this allow recursive downloads ? or multiple files, or will it need to loop ? as in scp -r \* would work?
