actions-marketplace-validations/lftp-mirror-action
Upload or update a directory tree via SFTP
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| host | The hostname of the SFTP server | yes | — |
| port | The port of the SFTP server | no | 22 |
| user | The username to use for authentication | yes | — |
| pass | The password to use for authentication | yes | — |
| forceSSL | Refuse to send password in clear when server does not support SSL | no | true |
| verifyCertificate | Verify server’s certificate to be signed by a known Certificate Authority | no | true |
| fingerprint | Key fingerprint of the host we want to connect to | no | "" |
| onlyNewer | Only transfer files that are newer than the ones on the remote server | no | true |
| restoreMTime | Restore the modification time of the files | no | true |
| parallel | Number of parallel transfers | no | 1 |
| settings | Any additional lftp settings to configure | no | "" |
| localDir | The local directory to copy from | no | . |
| remoteDir | The remote directory to copy to | no | /var/www/html/ |
| reverse | Whether to copy from the remote to the local directory | no | true |
| ignoreFile | The name of the file to use as the ignore list | no | .lftp_ignore |
| options | Any additional mirror command options to configure | no | "" |
Outputs
no outputs