Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
VGSOURCES
Get listed

File transferPATCH 2026.10.15

How to Download Files and Folders From a Linux VPS

By VGSources Team 13 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a one-off transfer, run scp from your computer. Use SFTP when you want to browse and choose files, rsync when a folder is large or will be downloaded repeatedly, and a graphical SFTP client when you prefer drag-and-drop. wget is different: it fetches a file from a reachable HTTP(S) URL and does not browse a private VPS filesystem.

Choose the transfer method first

All four methods can move data to your computer, but they solve different problems. The VPS must be reachable over SSH for scp, SFTP, and rsync. You need the VPS username, hostname or IP address, SSH port, and either the correct password or private key. A DigitalOcean Droplet, for example, normally accepts SSH/SFTP connections on port 22 unless you changed its configuration.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Method Best use Folder handling Interface Main requirement
scp One file or a simple one-time copy Recursive copy with -r Command line SSH access and readable remote paths
SFTP Browsing a VPS and selecting particular files Recursive download depends on the client Command line or graphical client An SSH/SFTP account
rsync Large folders or repeated downloads Native recursive synchronization Command line Rsync available at both ends plus SSH
FileZilla Drag-and-drop transfers Select a remote folder and choose Download Graphical interface Local FileZilla installation and SSH key or password
wget A public or otherwise reachable HTTP(S) archive Usually downloads one archive file Command line A valid URL

For a game server, scp is convenient for grabbing one saved world or configuration file. SFTP is easier when you need to inspect several directories first. Rsync is the practical choice for a large world, mod collection, log archive, or backup that you will pull down more than once.

Prepare the VPS and your computer

Collect the connection details

  • Username: the account that owns or can read the files. A path visible to root may be inaccessible to an unprivileged account.
  • Host: the VPS hostname or public IP address.
  • SSH port: port 22 is the usual default; use the custom port if the server was hardened.
  • Authentication: the private key paired with the VPS account, or the account password if password authentication is enabled.
  • Remote path: the full path to the file or directory. Confirm spelling and capitalization on the Linux filesystem.
  • Local destination: an existing folder such as ~/Downloads/.

Test a normal SSH login before attempting a transfer. If SSH itself cannot connect, changing the copy command will not solve the underlying network, firewall, username, port, or authentication problem.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses | Anti UV Ray, For Computers & Gaming, Square Frame, Eyewear for Men and Women
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Check that the account can read the source

On the VPS, inspect the item with ls -l and check each parent directory. The account needs read permission on a file and execute (search) permission on every directory in its path. If the files belong to another account, ask an administrator to grant the least access needed or create an archive in a directory your transfer account can read. Avoid routinely transferring as root when a limited account is sufficient.

Make the local destination explicit

A destination ending in a slash, such as ~/Downloads/, means “place the downloaded item inside this directory.” Use a new, clearly named directory for a large transfer so that existing game saves or configuration files are not accidentally mixed with it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Download one file with scp

Run scp on your local computer, not in a shell logged into the VPS. The remote operand follows the form user@host:path.

scp user@VPS_HOST:/remote/path/report.pdf ~/Downloads/

Replace every placeholder with your values. For example, a game-server save might be addressed as [email protected]:/srv/game/world.zip; do not copy that example address unless it is actually your server.

Use a private key and a non-default port

scp -i ~/.ssh/vps_key -P 2222 user@VPS_HOST:/remote/path/report.pdf ~/Downloads/

-i selects the private key file. -P (uppercase P) selects the SSH port. Keep the key path private and make sure it is the key authorized for the specified VPS account. The command may ask you to accept the host key the first time; verify the fingerprint through your provider or administrator before accepting it.

Handle spaces and shell characters in paths

Quote the remote path when it contains spaces or characters interpreted by your local shell. A robust pattern is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
scp 'user@VPS_HOST:/srv/game server/backups/world 1.zip' ~/Downloads/

Quoting protects the local command line; it does not grant permission to read the file. If a path contains a literal apostrophe, use a shell-appropriate quoting method or rename the file temporarily.

Know what scp does not do

Scp copies the requested bytes; it does not browse the VPS, choose files interactively, or synchronize only changed portions of a directory. For a single file, that simplicity is an advantage. For a large tree that changes daily, use rsync instead.

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Download a complete folder with scp

Add -r to recursively copy a directory and everything below it:

scp -r user@VPS_HOST:/remote/path/project ~/Downloads/

This creates a project directory inside ~/Downloads/. The remote account must be able to read every file and traverse every subdirectory. One unreadable log, save, or cache file can cause errors during the recursive walk.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When recursive scp is a good fit

  • A small or medium folder needs to be copied once.
  • You want the shortest command and do not need a file browser.
  • The folder contains ordinary files and the transfer can be repeated from the beginning if interrupted.

When to choose another method

Use SFTP if you need to inspect the remote tree and select only certain items. Use rsync if the folder is large, the connection may be interrupted, or you expect to download it repeatedly. Rsync can avoid retransmitting data that is already present locally.

Browse and select files with SFTP

SFTP runs through SSH and presents a remote file-transfer session. Start it locally with:

sftp user@VPS_HOST

After authentication, the prompt changes to sftp>. The following sequence checks the remote location, lists files, changes directories, selects a local destination, and downloads items:

sftp> pwd
sftp> ls
sftp> cd /remote/path
sftp> lcd ~/Downloads
sftp> get report.pdf
sftp> get -r project
sftp> bye

Understand the two working directories

pwd and cd refer to the remote VPS. lcd changes the local computer’s working directory. Keeping those contexts separate prevents the common mistake of looking for a downloaded file on the VPS or placing it in an unexpected local folder.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a key or custom port

Most OpenSSH clients accept key and port options when starting SFTP:

sftp -i ~/.ssh/vps_key -P 2222 user@VPS_HOST

If your client uses a different option syntax, consult that client’s help output. The key must match the account and be in a format the client accepts.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men | Office Gifts for Women, iPhone Stand, Gadgets for Men, Office Decor, Gaming Desk Accessories for Samsung Fold 8, Switch, iPad
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Download selectively

Use ls and cd to locate a particular save, screenshot, log, or configuration file, then run get filename. Many SFTP clients support get -r directory for recursive downloads, but recursive support is client-dependent. If your client rejects -r, use scp or rsync for the directory rather than deleting or moving remote data to make the command work.

Why SFTP is often safer for manual work

The protocol keeps the transfer inside the authenticated SSH connection, so you do not need to expose a temporary web server or make a private archive public. It also lets you inspect names before selecting them, which reduces the chance of copying the wrong game-world or overwriting a local directory.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a graphical SFTP client

FileZilla provides a graphical workflow for the same SFTP service. Install it on your local computer, create an SFTP site, and enter the VPS address, SSH port, username, and authentication details. Port 22 is the default used in DigitalOcean’s Droplet instructions; enter your actual port if it differs.

  1. Open the site manager and create a new site.
  2. Choose SFTP – SSH File Transfer Protocol as the protocol.
  3. Enter the VPS hostname or IP address, SSH port, and username.
  4. Select the private-key authentication method and choose the key file, or enter a password if the account permits password login.
  5. Connect and verify the remote path in the Remote site pane.
  6. Open the local destination in the Local site pane.
  7. Select a remote file or folder and choose Download, or drag it to the local pane.

FileZilla is free and open source, but its interface cannot bypass Linux permissions. A remote folder that the SFTP account cannot read will still fail, and an unsupported or mismatched private-key format will produce an authentication error.

Fix “no supported authentication methods”

  • Confirm that the site is set to SFTP, not plain FTP.
  • Check that the username is the account to which the public key was installed.
  • Choose the matching private key and verify that the client accepts its format.
  • Confirm the SSH port and host address.
  • Test the same account with a command-line SSH or SFTP login to distinguish a server problem from a GUI configuration problem.

Use rsync for large or repeated folder downloads

Rsync is designed to synchronize directory trees. Its delta-transfer algorithm sends differences instead of retransmitting unchanged data, which is useful when a game world or backup is downloaded repeatedly.

rsync -az -e ssh user@VPS_HOST:/remote/path/project/ ~/Downloads/project/

-a enables archive-style recursive copying and preserves relevant metadata where possible; -z enables compression during transfer; -e ssh specifies SSH transport. Rsync must be available on both the local computer and the VPS.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use a key and custom port

rsync -az -e "ssh -i ~/.ssh/vps_key -p 2222" user@VPS_HOST:/remote/path/project/ ~/Downloads/project/

The SSH options are inside quotes so rsync passes them to the SSH command as one transport specification.

Understand the trailing slash

In the example, project/ means “copy the contents of project into the local project/ directory.” If you remove the trailing slash and copy ...:/remote/path/project, rsync treats the directory itself as the source and creates or updates a nested project entry under the destination. Decide which layout you want before starting, especially when restoring a game server where an extra directory level can make the server appear to have lost its files.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Preview before changing anything

Add -n for a dry run:

rsync -azn -e ssh user@VPS_HOST:/remote/path/project/ ~/Downloads/project/

Review the proposed file list before running the real transfer. Be particularly cautious with deletion options: a command that mirrors the VPS can remove local files that are not present remotely. Do not add deletion flags until you have confirmed the source, destination, and trailing-slash behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When rsync is not the right tool

Rsync is unnecessary for one small file and may not be installed on a minimal VPS. If only SSH is available, scp or SFTP is simpler. For a directory containing millions of tiny files, creating one archive on the VPS can be easier to manage than walking the tree interactively.

Download a public archive with wget

wget retrieves data from a URL that the local computer can reach over HTTP or HTTPS:

wget https://example.com/archive.tar.gz

This is appropriate when a VPS or another server intentionally publishes an archive at that address. It is not a way to address a private Linux path such as /srv/game/world; that path is meaningful only inside the VPS filesystem. Use authenticated SSH, SFTP, scp, or rsync for private files.

Do not start a temporary HTTP server or expose a private archive to the public internet merely to make wget work. That can leak saves, credentials, source code, or player data. An authenticated SSH transfer is the safer default for private VPS content.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Archive a folder before downloading it

If a folder has many files, archive it on the VPS and then transfer one file. This can simplify selection and reduce the number of individual filesystem entries the client must process:

tar -czf archive.tar.gz folder/

After the archive is created in a directory readable by your transfer account, download it with scp or SFTP:

scp user@VPS_HOST:/remote/path/archive.tar.gz ~/Downloads/

Keep the archive until you have verified that the local copy opens and contains the expected files. Then remove the remote temporary archive if it is no longer needed, using the VPS’s normal administrative process. Archiving is a workflow convenience, not a performance guarantee; it also means you must have enough free space on the VPS for the archive.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Troubleshoot common failures

“Permission denied”

  • Confirm that the username is correct and that the account can read the file.
  • Check permissions on every parent directory, not just the file itself.
  • If the path belongs to another account, ask an administrator for read access or an administrator-created archive.
  • Do not solve a narrow download need by permanently granting broad permissions or using the root account unnecessarily.

“No such file or directory”

  • Log in with SFTP and run pwd and ls to confirm the current remote location.
  • Use an absolute path beginning with / when you are unsure which home directory the account uses.
  • Check capitalization, punctuation, and spaces in the filename.
  • Remember that a shell abbreviation such as ~ expands to the remote account’s home directory only when interpreted by the remote client; quote unusual paths carefully.

Connection timeout or refusal

  • Verify the VPS is running and that the hostname resolves to the expected IP address.
  • Check the SSH port in the command and in the VPS firewall or security-group rules.
  • Confirm that the SSH service is listening and that your current network is allowed to reach it.
  • Try a plain SSH login to separate connectivity issues from transfer syntax.

Authentication errors

  • Use the private key paired with the public key installed for that VPS account.
  • Check that the key path is correct and that the client supports its format.
  • Confirm the username; a valid key for one account does not automatically authenticate another.
  • If a GUI reports no supported methods, recheck its SFTP protocol selection, key setting, port, and username.

The transfer stops partway through

For a one-off scp transfer, rerun the command after checking disk space and connectivity. For a large or repeated folder, rsync is better suited because a subsequent run can reconcile differences rather than starting conceptually from a blank destination. SFTP clients may provide resume behavior, but the exact command and support vary by client.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The downloaded folder is in the wrong place

Inspect the destination argument and whether the source path ended with a slash. With scp, copying a directory to ~/Downloads/ normally creates that directory below Downloads. With rsync, the trailing slash controls whether the directory itself or only its contents are merged into the destination.

Protect the VPS and the downloaded data

  • Prefer SSH keys over passwords when your provider supports them. Store the private key securely and never paste it into a chat, script repository, or public support ticket.
  • Use a limited transfer account with only the read access it needs.
  • Verify the host key or fingerprint on the first connection through a trusted provider console or administrator.
  • Use encrypted SSH-based methods for private worlds, player data, source code, and configuration files.
  • Check the local destination before downloading so that a similarly named save or configuration is not overwritten.
  • Delete temporary archives from the VPS when they are no longer required, especially if they contain secrets or personal data.
  • Keep private archives out of public web roots and do not expose an ad-hoc HTTP server just to use wget.

Practical choices for game-server files

One saved world or backup

Use scp with the exact remote path and a local Downloads directory. It is the shortest route when you already know the filename.

A folder you need to inspect first

Use SFTP or a graphical SFTP client. List the remote directory, open the likely save or configuration folder, and download only the selected item. This avoids copying caches, temporary logs, or unrelated server data.

A large world that you pull down every night

Use rsync and retain a stable local destination. Run a dry run while building the command, then schedule the verified command through your normal backup system. Do not add deletion behavior until you have tested the source and destination semantics.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A directory with a very large number of small files

Create a tar archive in a readable temporary location, download that single archive with scp or SFTP, verify it locally, and remove the temporary remote copy when appropriate.

A deliberately published release archive

Use wget with its HTTPS URL. This is the only case in this guide where a URL, rather than an SSH path, is the source of the download.

A repeatable checklist

  1. Identify the VPS username, host, SSH port, authentication method, remote path, and local destination.
  2. Test an SSH login and verify that the account can read the source.
  3. Choose scp for a one-off copy, SFTP for browsing, rsync for repeated or large folders, a graphical SFTP client for drag-and-drop, or wget only for a reachable URL.
  4. Quote paths containing spaces or shell metacharacters.
  5. For rsync, confirm the trailing slash and run a dry run before any destructive option.
  6. Check the local files after transfer before deleting the VPS copy or a temporary archive.

The decisive distinction is whether you are addressing a private filesystem or a published URL. SSH-based tools authenticate to the VPS and can read its private paths; wget cannot. Once the account, path, port, and destination are correct, selecting the method that matches the job keeps the transfer both simpler and safer.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

File transfergame server backupsLinux VPSRsyncSCPSFTPSSHwget

Leave a reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.