File Transfer / Advanced


This category only appears if VanDyke Software's SecureFX® 3.0 (or newer) is also installed.

The File Transfer/Advanced category of the Session Options dialog allows you to configure PGP options for a session.

PGP options group

Use PGP for all transfers

Select the operating system used on the server. By default, this option is set to automatically detect the operating system on the server when connecting. This option allows you to override the automatic detection and specify a supported type.

Pre-upload command

Enter the local command to execute on the file prior to upload (e.g., PGP encryption).

Post-download command

Enter the remote command to execute on the file after download (e.g., PGP decryption).

Notes:

A third-party library such as GnuPG is required in order to do PGP-like encryption and decryption.

If "%INPUT_PATH" appears within a PGP command, it is replaced with the input file path (i.e., the file being decrypted/encrypted/signed/verified).

"%OUTPUT_PATH" is a variable that SecureFX uses that is replaced with the file resulting from the PGP operation.

A file named "file.txt" will be named "file.txt.pgp" on the remote machine following PGP processing prior to the upload operation.

A file named "file.txt.pgp" will be named "file.txt" on the local machine following PGP processing after the download operation.

When uploading files that already have a ".pgp" or a ".gpg" extension, PGP processing will be skipped.

Example of pre-upload command:

gpg --output "%OUTPUT_PATH" --encrypt --default-recipient-self "%INPUT_PATH"

Example of post-download command:

gpg --no-tty --no-use-agent --passphrase "passphrase" --output "%OUTPUT_PATH" --default-recipient-self

--decrypt "%INPUT_PATH"

Logging group

Trace level

This option allows you to specify the trace level for the log file. Valid values are 0 to 9 (most verbose).

SFTP/SCP group

Use a separate transport for every connection

Choose the filename conversion rule that will be applied to uploaded files. The choices for this option are as follows:

Disable initial SFTP extensions

Check this option in order to disable the fs-multiple-roots-supported request, which may be needed for compatibility with some servers.

Send sudo command

Check this option to allow a sudo or other command to be sent when an SCP session connects.