by stvlynn · v0.0.1
Secure File Transfer Protocol (SFTP) client for remote file operations
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Author: Steven Lynn Version: 0.0.1 Type: tool
SFTP (Secure File Transfer Protocol) plugin for Dify, allowing secure file operations on remote servers. The plugin provides file listing, downloading, uploading, and management capabilities.
The plugin provides the following actions:
Lists files and directories in a remote location via SFTP, showing details like file size, modification time, and file type.
Downloads a file from the remote server and returns it directly as a file attachment for easy access.
Uploads files to the remote server using Dify's file variable system for direct file uploads.
Provides various file and directory management operations:
The plugin supports two authentication methods:
| Parameter | Type | Required | Description |
|---|---|---|---|
| host | string | Yes | Hostname or IP address of the remote server |
| port | number | No | SSH port, default is 22 |
| username | string | Yes | Username for authentication |
| auth_type | select | Yes | Authentication type: password or key |
| password | string | Conditional | Password for password authentication (required if auth_type is password) |
| private_key | string | Conditional | Private key content for key authentication (required if auth_type is key) |
| passphrase | string | No | Passphrase for the private key (if the key is encrypted) |
| Parameter | Type | Required | Description |
|---|---|---|---|
| remote_path | string | Yes | Directory path on the remote server to list |
| Parameter | Type | Required | Description |
|---|---|---|---|
| remote_path | string | Yes | Path to the file on the remote server |
| Parameter | Type | Required | Description |
|---|---|---|---|
| remote_path | string | Yes | Path where to save the file on the remote server |
| files | files | Yes | File(s) to upload to the remote server |
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | select | Yes | Action to perform (rename, delete, create directory) |
| path | string | Yes | Path to file or directory on remote server |
| new_path | string | Conditional | New path for rename operation (required if action is rename) |
{
"host": "example.com",
"port": 22,
"username": "user",
"auth_type": "password",
"password": "your_password",
"remote_path": "/home/user"
}
{
"host": "example.com",
"port": 22,
"username": "user",
"auth_type": "password",
"password": "your_password",
"remote_path": "/home/user/file.txt"
}
{
"host": "example.com",
"port": 22,
"username": "user",
"auth_type": "key",
"private_key": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----",
"remote_path": "/home/user/",
"files": [file1, file2]
}
{
"host": "example.com",
"port": 22,
"username": "user",
"auth_type": "password",
"password": "your_password",
"action": "mkdir",
"path": "/home/user/new_directory"
}
If you encounter any problems or have suggestions for improvements:
Please open an issue in the plugin's GitHub repository
Provide details about your problem, including error messages and steps to reproduce
Do not submit issues to the main Dify repository for plugin-specific problems