SMB - Upload file action ​

This action uploads a file to a specific path in your SMB network share. If a file with the same name already exists in the folder, the action overwrites it.

The default chunk size is set to 5 MB. You can change the chunk size to increase the upload speed if your connection is stable. The maximum chunk size is .

You can use this action with the Create folder action to upload files into a new folder.

Input ​

Input fieldDescription
File pathProvide the full path of the file, including the file name and extension, for example: /folder1/folder2/filename.csv. The folders provided in the path must exist before you can add a file in them.
File nameEnter a name for the uploaded file.
File contentsInput a File contents datapill from another step or enter the file contents directly. Leave this field blank to create an empty file at the target location.

Output ​

Output fieldDescription
PathThe path of the uploaded file, including the file name and extension, for example: /folder1/folder2/filename.csv.
File nameThe name of the uploaded file.
Directory nameThe complete path of the uploaded file, for example: /folder1/folder2/.
Written lengthThe size of the uploaded file.

ADDITIONAL FILE DATA

You can use the Get metadata action to retrieve more details about a file.

Last updated: