SSH

Controlling Staging during File Transfers

It is possible to change staging behavior in Tectia server on z/OS. You can specify the --attribute=staging option with sft-server-g3 in the sshd2_config file:

subsystem-sftp   /opt/tectia/libexec/sft-server-g3 --attribute=staging:NO

When staging is set to NO, staging is not used if not explicitly requested by the client.

When staging is set to YES (default), staging is used when needed.

Third-party file transfer clients can request staging with the following file transfer advice string:

/ftadv:staging=yes/

or in short:

/ftadv:s=yes/

If the file transfer client uses SFTP protocol for transferring the file and accesses the file or data set in correct order, staging is not needed. However, if the client accesses file data in random offsets, staging is necessary when data sets are involved or conversions are used.