Skip to main content

transport.sftpCommands()

Runs allowed file commands in one leased SFTP session, without a remote shell. With readOnly: true, permits only pwd, ls, stat, lstat, cat, readlink, readat, and glob. The full batch is validated before dispatch; any mutating command requires readOnly: false. Automatic execution.log identifies the call in details.source. Inspect command errors even when batch HTTP succeeds.

Signature

See all transport methods or runtime basics.
Last modified on November 8, 2026