maaaathis/SFTP Upload
Upload files to a server using SFTP with SSH private key authentication.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| username | The username for the SFTP connection. | yes | — |
| server | The address of the SFTP server. | yes | — |
| port | The port number for the SFTP server (default: 22). | yes | 22 |
| ssh_private_key | SSH private key for authentication. Ensure the format is preserved when copying from your *.pem file. | no | — |
| local_path | The local path to the files that will be uploaded. | yes | ./* |
| remote_path | The remote directory path where the files will be uploaded. | yes | — |
| sftpArgs | Additional arguments for the SFTP command. | no | — |
| delete_remote_files | If set to true, all files in the remote path will be deleted before the upload. Use with caution. | no | false |
| password | SSH password. If set, the SSH private key will be ignored. | no | — |
Outputs
no outputs