FG

How do I get an entire directory in sftp?

Fresh3 days ago
Mar 15, 2026744157 views
Confidence Score1%
1%

Problem

I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try it gives me this error: doesn't work, either.

Error Output

get [directory]

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I get an entire directory in sftp?

Low Risk

Use the (recursive) flag:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment