SFTP Create Directory
SFTP Create Directory
Section titled “SFTP Create Directory”Type: sftp-mkdir · Package: SFTP Activities v1.0.0
Create a folder on the SFTP server. Useful for preparing the target structure before uploading files.
How it works
Section titled “How it works”Create the remotePath folder on the server.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
remotePath | expression | Path of the remote folder to create. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | SFTP Connect session. Within a body it is inherited. |
Example
Section titled “Example”Secure the destination folder before uploading:
SFTP Create Directory remotePath = = "/entrada/" + today().ToString("yyyy-MM")SFTP Upload localPath = = ruta remotePath = = "/entrada/" + today().ToString("yyyy-MM") + "/datos.csv"Related activities
Section titled “Related activities”- SFTP Upload — upload files to the created folder.
- SFTP Exists — comprobar si ya existe.