Shared server guidance

SCP, SFTP & file transfers

Transfer files between Windows and servers, verify integrity, and preserve destination permissions and existing data.

10 practical answersClear prerequisites and verification
10 guides
SCP, SFTP & file transfers

How do I upload a file from Windows to a Linux server?

Upload one file with SCP from Windows, choose a writable server destination, and verify the transferred file before using it.

Read the answer
SCP, SFTP & file transfers

How do I download a server file to Windows with SCP?

Download a specific Linux server file to Windows using SCP, preserve the local destination you intend, and verify size and integrity.

Read the answer
SCP, SFTP & file transfers

How do I copy a directory using SCP?

Copy a selected directory with SCP, understand recursive behaviour and destination layout, and avoid publishing secrets or unwanted files.

Read the answer
SCP, SFTP & file transfers

How do I use a custom SSH port and key with SCP or SFTP?

Use uppercase -P for SCP and SFTP ports, select the intended private key, and distinguish file-transfer flags from ordinary SSH flags.

Read the answer
SCP, SFTP & file transfers

How do I use the interactive SFTP prompt?

Navigate local and remote directories in SFTP, upload and download selected files, and verify which computer each path belongs to.

Read the answer
SCP, SFTP & file transfers

How do I resume an interrupted file transfer with SFTP?

Resume an unchanged partial upload or download using SFTP, confirm the source has not changed, and verify the completed file with a hash.

Read the answer
SCP, SFTP & file transfers

How do I verify that a file transferred correctly?

Compare SHA256 hashes on Windows and Linux after a file transfer, distinguish integrity from authenticity, and investigate mismatches.

Read the answer
SCP, SFTP & file transfers

Why does SCP or SFTP say permission denied when SSH works?

Distinguish successful SSH login from file permissions, inspect the exact transfer path, and use authorised staging without weakening access.

Read the answer
SCP, SFTP & file transfers

How do I transfer a file into a protected application directory?

Stage a file under your own Linux account, verify it, and use a narrowly authorised deployment step for a protected application destination.

Read the answer
SCP, SFTP & file transfers

How do I preview a server-to-server file copy with rsync?

Preview a selected Linux directory copy with rsync over SSH, inspect trailing-slash behaviour, and avoid unintended deletion or overwrites.

Read the answer