# Smb

Frends offers seamless integration with [SMB](https://en.wikipedia.org/wiki/Server_Message_Block), enabling you to easily connect to network file shares and automate file-based workflows across your systems.

Frends provides tasks for performing all core SMB file operations, such as copying, moving, deleting, and managing files and directories on SMB shares.

By leveraging Frends’ task-based approach, you can configure and customize SMB integrations to meet your specific requirements. Frends offers a versatile set of file operation tasks that make it easy to integrate SMB file shares with a wide range of systems and processes.

## Use cases

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

### Write a file to an SMB share

By using the [`Smb WriteFile`](https://docs.frends.com/tasks/tasks/smb/writefile) task we can create an integration that saves data to an SMB share.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-80de44a003443e8501c789f71512bf05ab337dd2%2Fsmb-write-file.svg?alt=media" alt=""><figcaption><p>Write file</p></figcaption></figure>

### Copy files inside SMB share

By using s the [`Smb CopyFiles`](https://docs.frends.com/tasks/tasks/smb/copyfiles) task we can copy files from one directory to another within an SMB share. It offers flexible file selection through patterns and configurable behavior for existing files, directory creation, and structure preservation.

<figure><img src="https://2096450325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FevBo49UTUjEN84O2WPl6%2Fuploads%2Fgit-blob-3f7cd49fd6e83a7325094e643cd01fdacf52182b%2Fsmb-copy-files.svg?alt=media" alt=""><figcaption><p>Copy files</p></figcaption></figure>
