SFTP
Transferência de arquivos via SFTP (SSH) com senha ou chave privada, com suporte a bastion host.
Authentication
This connector uses Token-based authentication.
info
Set up your connection in the Abstra Console before using it in your workflows.
How to use
Using the Smart Chat
Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".
Using the Web Editor
from abstra.connectors import run_connection_action
result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})
Available Actions
This connector provides 10 actions:
| Action | Purpose | Parameters |
|---|---|---|
| list_directory | List entries of a remote directory | path (string) |
| stat | Get metadata for a remote path | remotePath (string) required |
| read_file | Download a remote file into the project files and return its project path | remotePath (string) required |
| download_file | Download a remote file into the project files and return its project path | remotePath (string) required |
| upload_file | Upload an existing project file to the SFTP server | projectFilePath (string) required remotePath (string) required |
| delete_file | Delete a remote file | remotePath (string) required |
| make_directory | Create a remote directory | remotePath (string) required |
| remove_directory | Remove a remote directory | remotePath (string) required |
| rename | Rename/move a remote path | from (string) required to (string) required |
| test_connection | Verify the SFTP connection works | No parameters |