Seon plugin seonplugin scp upload
From Seon
Purpose
For simple SCP/SFTP upload tasks, this plugin can transfer all job files to a target SCP/SFTP server.
Configuration
The plugin must be configured on per-partner level and has no global configuration.
Configuration parameters are:
- Target server: server hostname or IP address of SSH server being addressed.
- SCP port: default port 22, but can be changed to any valid TCP/IP port on which the remote SSH server is listening.
- Target path: target path where to upload files to.
- Username: username which is being authentificated at the remote server.
- Password: plaintext password (if available) for the user being authentificated.
- Key file: absolute path to the SSH key file of the user being authentificated.
- Debug output: enable more debug output for analyzing transmission problems.
- Enable SCP mode: If SFTP is not available, plain SCP mode can be activated with this option. Beware: enabling this option disabled the support of directory structures on remote site.
Bevahiour
The plugin loops over all files of the job and handles them separately (one after another). For each file, the plugin
- Connects to the SSH server
- Uploads the file to the target directory with its absolute filename. The local filename is being analyzed if a "job directory" exists for this job. If it exists, the file is being translated into a path without the job directory, so subdirectories at remote side are possible (i.e. when extracting a ZIP archive with subdirectories before transmission). If no job directory definition exists, the basename of the file is being used.