# SFTP

Frends offers seamless integration with [SFTP](https://en.wikipedia.org/wiki/SFTP), enabling you to effortlessly connect and automate data flows between your systems and SFTP servers.

Frends has tasks for performing all core SFTP operations.

By leveraging Frends' task-based approach, you can configure and customize SFTP integrations according to your specific requirements. Frends offers a wide range of tasks that facilitate integrations to a variety of systems and protocols.

## Use cases

Below you will find typical use cases for SFTP integrations and how they are implemented in Frends.

### Upload files to SFTP

By using the [`SFTP UploadFiles`](https://docs.frends.com/tasks/tasks/sftp/uploadfiles) task we can create an integration that sends a batch of files to an SFTP server.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-7273bc063c7c989ee1b3f1f035a8b6853cfa841d%2Fsftp-upload-files.svg?alt=media" alt=""><figcaption><p>Upload files</p></figcaption></figure>

### Downloading files nightly and saving them to a designated directory

By using schedule trigger and the [`SFTP DownloadFiles`](https://docs.frends.com/tasks/tasks/sftp/downloadfiles) task we can create an integration that downloads files every night into a designated directory.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-5c5bf115834d9596de54c5970c4b2bc8f5363910%2Fsftp-nightly-download.svg?alt=media" alt=""><figcaption><p>Nightly download</p></figcaption></figure>

### Compatibility Note

Latest versions of SFTP tasks are not compatible with .NET standard 2.0 and .NET Framework 4.7 in some specific scenarios, due to SSH.NET package dependencies that are not resolved properly in .NET ecosystem. If you encounter an issue related to package System.Numerics.Vectors, Version=4.1.4.0 please use older version of the task.

Latest versions of tasks without upgraded SSH.NET:

* Frends.SFTP.DeleteFiles v2.3.0
* Frends.SFTP.DownloadFiles v2.18.0
* Frends.SFTP.ListFiles v2.7.0
* Frends.SFTP.MoveFiles v1.5.0
* Frends.SFTP.ReadFile v2.4.0
* Frends.SFTP.RenameFile v2.3.0
* Frends.SFTP.UploadFiles v2.14.0
* Frends.SFTP.WriteFile v2.6.0
