Download a file from a remote SMB share to the local filesystem.
Parameter
Description
SMB Share Name
The name of the SMB share. For example - SharedFolder.
Remote File Path
The file path within the SMB share to download. For example - Documents/report.txt.
Local File Path
The destination file path to save to within the working directory. For example - report.txt.
Note: If the local file path contains directories, those directories must exist otherwise the file won’t be downloaded.
Working Directory
The directory where the downloaded file will be saved. The filesystem state is preserved across steps using this directory, ensuring that files and changes persist for continuity.
For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories.
List files and subdirectories in a directory on a remote SMB share.
Parameter
Description
SMB Share Name
The name of the SMB share. For example - SharedFolder.
Directory Path
The directory path within the SMB share to list. Leave empty to list the SMB share root. For example - Documents.
Filter
A pattern to filter the listed files and folders, leave empty to list all. For example - *.txt to list only text files, or report* to list files or directories starting with “report”.
Upload a file from the local filesystem to a remote SMB share.
Parameter
Description
SMB Share Name
The name of the SMB share. For example - SharedFolder.
Remote File Path
The destination file path within the SMB share. For example - Documents/report.txt.
File Path
The path of the file to upload.
Working Directory
The directory where the file is located. The filesystem state is preserved across steps using this directory, ensuring that files and changes persist for continuity.
For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories.