SetConnect

SFTPupload

SecureFTP::SFTPupload
Description

Upload one or more files to the specified hostname using SSH.

The following private key formats are supported:

RSA in OpenSSL PEM and ssh.com format
DSA in OpenSSL PEM and ssh.com format
ECDSA 256/384/521 in OpenSSL PEM format
ED25519 in OpenSSH key format

Private keys can be encrypted using one of the following cipher methods:

DES-EDE3-CBC
DES-EDE3-CFB
DES-CBC
AES-128-CBC
AES-192-CBC
AES-256-CBC

If you get "Invalid private key file" you can try converting the private key file to "ssh.com" format:

  • download and install PuTTY Key Generator from https://www.chiark.greenend.org.uk/~sgtatham/putty/
  • start "PuTTYgen"
  • now "Load" your private key into PuTTYgen
  • click "Conversions\Export ssh.com key" to save to a new private key file
  • use this file in Omniphlex

 

SFTPupload - FTP Server
Options
Hostname
The hostname or ip-address of the computer to connect to.
Port
The SFTP port (default=22).
Username
FTP username .
Password
FTP password .
SFTPupload - Source
Options
File to upload
The file or directory that must be uploaded to the FTP server.
Upload Multiple Files
When checked, multiple files can be uploaded.
Include Subdirectoires
Only valid when "Upload Multiple Files" is enabled.
Filemask
Only valid when "Upload Multiple Files" is enabled. All files matching this mask will be uploaded. Supports standard wildcards.
SFTPupload - Destination
Options
Destination Folder
Directory to which the file will be uploaded.
Create Missing Directories
When checked, all missing directories will be automatically created on the FTP server.
Filename
Optional filename to use on the FTP server.
Rename After Upload
If enabled, the file will be uploaded using it's original filename (or the Temp Filename) and once the upload is complete, the file will be renamed to the correct filename.
Temp Filename
Optional temporary filename. The file will be uploaded using this filename and once the upload is complete, the file will be renamed to the correct filename.
Generate Random Filename
If enabled, the file will be uploaded using a random filename which consist of the characters a-Z and 0-9. Once the upload is complete, the file will be renamed to the correct filename.
If Remote File Exist
What to do when the remote file already exists.
SFTPupload - Options

Options
Retries
Number of times the plugin will try to download a file when an error occurs.
Timeout
The timeout in seconds for the session.
Verbose Logging
Show trace logging.
Encoding
The encoding to use for the transfer.
Secure Mode
If enabled, a minimal set of commands will be used during the transfer.
SFTPupload - Security

Options
Authentication Type
PASSWORD
Use standard password authentication only.
PUBLICKEY
Public/Private key with optional passphrase is used for authentication.
Privatekey File
Full path/name to the private keyfile.
Passphrase
Optional passprase which belongs to the private keyfile..
PASSWORD & PUBLICKEY
Password and Public/Private key with optional passphrase is used for authentication.
Privatekey File
Full path/name to the private keyfile.
Passphrase
Optional passprase which belongs to the private keyfile..

Documentation

Release notes