Generate/SecureFXsysicon.jpg  File Transfer / Advanced


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 this option to execute a command when transferring files, which could be a PGP-like encryption or decryption command.

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

Check this option in order to establish a new SSH2 transport for every parallel SFTP transfer.

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.

 

Related Topics

  1. Session Options/File Transfer
  2. Session Options/Terminal/X/Y/Zmodem