Documentation
SFTP and SCP workflows
How Transferetto handles secure file movement with SFTP and SCP.
Transferetto treats SFTP as the richer secure file-management lane and SCP as the compatibility lane for systems that expose copy semantics without the broader SFTP surface.
Use SFTP when you need
- directory listings and working-directory control
- recursive upload or download
- path inspection and existence tests
- permissions and timestamps
- symlink-aware file-management workflows
- content helpers or managed stream access
Use SCP when you need
- simple file or directory copy over SSH
- compatibility with servers where SCP is available but SFTP is not
- the same host-key policy model as the SSH lane
Practical distinction
If you need to inspect, manipulate, or reason about the remote filesystem, prefer SFTP. If you only need to copy files and directories and the server offers SCP, SCP can stay simpler.
Session model
Connect-SFTPreturns a reusable SFTP session object for listings, transfers, metadata, permissions, and streamsConnect-SCPreturns a reusable SCP session object for copy operations over SSH
That means you can establish trust once and keep the rest of the workflow focused on the transfer task itself.