• Categories
    • Tutorials
    • Beginners Guide
    • WordPress News
    • WordPress Security
    • Best WordPress Plugins
    • WordPress Themes
    • Product Reviews
    • WP Tips & Tricks
  • Guides
    • Start a Blog
    • Make a Website
    • WordPress Hosting
  • WordPress Hosting
    • A2 Hosting
    • HostGator
    • Bluehost
    • Cloudways
  • Managed Hosting
    • WPEngine
    • Rocket.net
    • WPX
    • Kinsta
  • Coupons
    • WPEngine
    • Flywheel
    • Cloudways
    • A2 Hosting
    • WPX Hosting
Beginners Guide

A Beginners’ Guide to Secure File Transfer Protocol (SFTP)

Last Updated on: January 31, 2022 Tom Rankin Leave a Comment

A Beginners’ Guide to Secure File Transfer Protocol (SFTP)

Almost every server in existence needs a user to access its contents. However, almost nobody has the ability to browser a server as you would a desktop computer. The typical way to access a server is to use a network protocol; in most cases, you’ll want to use Secure File Transfer Protocol (SFTP).

This does what it says on the tin: It lets you transfer (or otherwise work with) files in a secure way over a reliable data connection. You’ll access a server using a dedicated client, and work with the files like you would on a local computer. In fact, you can edit and organize those files further, using apps and other software.

Over the course of this post, we’re going to discuss the concept of SFTP. We’ll also tell you how it differs from other protocols, such as Secure Shell (SSH) access, and the standard, unsecured File Transfer Protocol (FTP).

What SFTP Is

Because you’ll find web servers across the world, it’s important to have a reliable and consistent way to access them. Of course, you can’t log onto a web server in the way you would a desktop machine; your chosen server is likely too far away, and will often contain lots of data relating to other users.

As such, you’ll want to use a method that lets you access the files and folders that relate to your site. It should also encrypt the connection in the case of malicious intent. SFTP is the network protocol that allows for this.

Where You’d Use SFTP

The broad generalization is to use SFTP for transferring files and folders. This is true, although some of the use cases can cover lots of ground. For example, you can use SFTP to migrate a site, or even back it up. There are even some WordPress-related tasks that will need you to access your server as a ‘finishing point’. Our post on duplicating a page in WordPress discusses how to work with your functions.php file, for which you’ll need SFTP.

Speaking of which, you’ll want to gain access to your server in the case of an error or glitch with your site. This is especially true if you can’t access the WordPress dashboard, as is the case such as the 500 Internal Server error.

As such, you can carry out a wider range of actions on files and folders with SFTP, unlike some other connection protocols. In fact, this is one of the reasons you’ll want to use it. Let’s look at this in more detail next.

Why You’d Want to Use SFTP

Some of the reasons you’d want to use SFTP will be obvious, while others will reveal themselves as you use it. Regardless, there are a number of points we can make about using SFTP over other protocols:

  • It provides a high level of encryption. We’ll discuss this in more detail later, but SFTP makes assumptions about security and encryption that mean you have lots of protection against malicious attacks.
  • Clients will often be ‘cross-protocol’ apps. This is to say, a client that can connect through FTP can also connect with SFTP in most cases.
  • You can work with a server’s contents in a familiar way. You’ll see this later, but the file explorer of most SFTP clients is intuitive and integrative in some aspects with your local computer.

This brings up a question: Given that other protocols exist, why would we recommend SFTP over the rest? We’ll answer this next.

The Difference Between FTP, SFTP, and SSH

Of course, this article discusses and focuses on SFTP. However, other protocols do exist to connect to servers. In most cases, you’ll come across the following:

  • FTP. To the average user, there is no difference between FTP and SFTP. The only difference is with security, and we’ll come back to this point shortly.
  • SSH. Here’s where the concept of file transfer gets technical. SSH is a ‘transport layer’. It provides encryption between two endpoints – in this case your computer and the web server. However, there is cross-over between SFTP and SSH.

Although we’ve used “Secure File Transfer Protocol” as a naming convention here, you can also use “SSH File Transfer Protocol”. This is because SSH is the encryption wrapper around the transfer protocol. While it’s not correct to say that SFTP is FTP with SSH, for an end user it does ‘feel’ like that.

Also, SSH is able to exists without any transfer protocols. You’ll often use SSH on the command line, using a bunch of commands to log in and carry out the work you need.

For reasons of flexibility, security, and ease of use, SFTP will be your go-to method of logging into your server. However, you’ll need some tools, apps, and skills in place in order to use it. Next, we’ll uncover the key requirement.

How to Choose a Suitable SFTP Client

While it’s not the only thing you need, a dedicated SFTP client is central to the process. This is where you’ll enter your credentials, work with the data on your local computer and server, and much more. Because of this, your choice of client is important.

There are a few items on the list of requirements. Here are the essentials:

  • A way to enter your login credentials with ease, and save them for future use.
  • Compatibility with your computer and Operating System (OS).
  • Clear indication of your server’s files, along with your computer’s hard drive.
  • The ability to connect using different protocols if you need.

On the whole, an SFTP client is a simple app, and if all you need is to gain access to your server, there won’t be too much deliberation on your end. In fact, while there are lots of options to choose from, there are really only three apps we recommend. We’ll look at them in turn, starting with the most popular one.

1. FileZilla

For many users, FileZilla is the quintessential go-to SFTP client on the market. You’ll find that many articles on the web discuss FileZilla as though it’s the only option available. Indeed, the WordPress.org support pages offer detailed tutorials on using FileZilla, and neglect other SFTP clients.

The FileZilla logo.

This is for many reasons, but a primary one is because it’s super simple to use. You only need one window to achieve everything you need. We’ll have more to say on how to get around a client later on, but as long as you know your computer’s files are on the left, and the server is on the right, you’ll be good to go.

What’s more, FileZilla is free to download and use for macOS, Windows, and Linux machines.

2. Cyberduck

Fewer users know about Cyberduck, but that’s to their detriment. It’s a stellar SFTP client that takes a different approach to FileZilla.

The Cyberduck logo.

While the client uses one window too, it doesn’t segment into different windows. The interface is cleaner, and won’t show the login fields, transfer activity, or your own directories by default. Instead, you see your server’s contents, and a few administrative icons.

Even so, the usability is just as good as FileZilla, and we’d suggest it’s arguably better than the other solutions on the marker – especially as it’s also open-source and free. Cyberduck can connect to a multitude of storage options, and you can even pay to mount your server within the macOS Finder or Windows File Explorer.

Also, there’s the option to donate if you’re a regular user, and we think this is a fantastic business model – you can support development with a $10 flat free at minimum.

3. Transmit

If you’d like to use a premium SFTP client, Transmit is a brilliant solution. The developers of the Nova code editor also pour their expertise into this client.

The Transmit logo.

Transmit is a sort of mix between FileZilla and Cyberduck. You’ll use one window to access everything you need, with your local machine on the left, and the server on the right. It has the same huge number of storage connection profiles to choose from, and looks like a native app too.

Much like FileZilla, there’s good usability, with everything you need visible from the one window. In contrast, Cyberduck can sometimes leave you to search for an option or window.

While there’s a 7-day trial version available, there is no free version of Transmit, and you’ll expect to pay $45 per ‘seat’ for a license. This is a one-off payment too, which means Transmit is a cost-effective option.

How to Access Your Site Through SFTP (In 3 Steps)

Once you have an SFTP client installed and running, you’ll want to use it! There are three steps, and we’ll recap them below:

  1. Find your login credentials from your hosting provider.
  2. Input the credentials to log into your server.
  3. Begin to work with your files and folders.

It’s a simple, three-step process, which needs your credentials first and foremost.

1. Find Your SFTP Credentials

This step can be confusing at times, although it doesn’t have to be. Your SFTP credentials will be different than those you use to log into WordPress and your hosting control panel. However, you’ll find them in the latter.

In this example, we’ll use DreamHost, but you may need to either extrapolate from our instructions or hunt for a similar option. To start, log into your host, and look to where your list of sites resides. For DreamHost, this is the Websites screen. In others, it may have a different name.

From here, look for the information relating to your SFTP users. DreamHost makes this clear:

The FTP link within DreamHost.

In some cases, you’ll want to navigate to your site’s settings to find the credential screen:

SpinupWPs SFTP options.

Regardless of how you get there, this screen should show the SFTP credentials for your site. It will show the host, username, password, and port:

The SFTP screen within DreamHost.

Note all of these down (or leave the screen open), while you head to your SFTP client.

2. Enter the Credentials and Log In

Within your SFTP client, look for the login fields. With FileZilla this is simple – they’re at the top of the screen:

FileZilla's connection fields.

It’s a similar situation with Transmit: The login fields are in the right-hand window:

Transmit's interface.

For Cyberduck, you’ll need to click the Open Connection button at the top of the screen:

The Open Connection button in Cyberduck.

This will bring up a dialog box that should be familiar to navigate. First, choose the SFTP option from the drop-down…

Cyberduck's connection options.

…then enter in the rest of the details into the dialog box:

Entering credentials into Cyberduck.

Once you click the Connect button (or equivalent) you will need to wait for a few seconds, until you see your server’s files on screen. From here, you can work with them.

3. Work With the Files and Folder On Your Server

This step should be the most straightforward of the three. Using an SFTP client to manage your server’s files is as simple as using your computer. In most cases, you’ll drag files onto your server’s directory structure. For FileZilla, this is from the left-hand to the right-hand screens. Folder structures show at the top-left and top-right, file structures of those folders show underneath:

The FileZilla interface.

For Cyberduck, you’ll drag local files from your OS Finder or File Explorer onto the client. From here, you’ll find all of the various actions within localized right-click menus. For example, you can download files, create new ones, and edit them:

Choosing to edit a file within Cyberduck.

Note that one big difference between FileZilla and Cyberduck is how you access elements such as file permissions. With FileZilla, there’s an explicit option:

The File permissions… options within FileZilla.

For Cyberduck, you’ll want to go through the Info screen:

The Cyberduck Info screen.

On the whole, using SFTP is simple to execute, and isn’t as daunting or scary as some make out. Of course, you do need to exercise caution, and make sure you close your connection when you finish. After all, you are working with your site’s files in a direct way. However, the more you use SFTP, the better and more comfortable you’ll become.

Wrapping Up

For a site owner, accessing your site’s files and folders could be a daily task. As such, you’ll want to make sure your workflow is straightforward and simple to execute. SFTP is the way to get at your server’s contents, and the good news is that most of your options for using it are fantastic and friendly to work with.

If you know how to log into a website, you can use SFTP. Choosing a suitable client is simple – FileZilla and Cyberduck are open-source and free, while Transmit is an excellent premium solution. Working with the files will be as simple as using your computer. What’s more, you can leverage SSH to make sure malicious users don’t get at your sensitive data.

Do you use something other than SFTP to access your server, and if so, what is it? Let us know in the comments section below!

+ Share
Disclosure

Tom Rankin

Tom Rankin is a quality content writer for WordPress, tech, and small businesses. When he's not putting fingers to keyboard, he can be found taking photographs, writing music, playing computer games, and talking in the third-person.

Related Posts

Back to all articles
  • Managed WordPress Hosting Options 2016

    8 Best Managed WordPress Hosting Providers for 2023 Compared

  • 10 Best WordPress Hosting Options for 2023 (Pros & Cons)

  • Best Cheap WordPress Hosting

    8 Best Cheap WordPress Hosting Providers in 2023 (From $1.99)

Coupons

View more deals
  • Recipe Card Blocks Coupon
    15% OFF

    Recipe Card Blocks Coupon

    Running a cooking or food website can be fun (and tasty) – but
    Get This Deal
  • WP 2FA Coupon
    20% OFF

    WP 2FA Coupon

    Security should be at the forefront of all site owner’s min
    Get This Deal
  • Themskingdom Coupon
    20% OFF

    ThemesKingdom Coupon

    First impressions count. As such, you’ll want a WordPress t
    Get This Deal

Leave a Reply Cancel reply

Full Disclosure This post may contain affiliate links, meaning that if you click on one of the links and purchase an item, we may receive a commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

THE BEST OF WPKUBE

Some of the best content we have published so far.

BEGINNER GUIDES & REVIEWS

18 Best Cheap WordPress Hosting Providers in 2023 (From $1.99)
210 Best WordPress Hosting Options for 2023 (Pros & Cons)
38 Best Managed WordPress Hosting Providers for 2023 Compared
45 Best WooCommerce Hosting Providers Compared in 2023 (All Budgets)
5Top 9 Landing Page Plugins for WordPress (2023)
69 Best List Building Plugins for WordPress In 2023
7How to Fix the 500 Internal Server Error on Your WordPress Website
8Thrive Themes Review: A Look At The Full Membership
9Beaver Builder Review: Is it The Best Page Builder Plugin for WordPress (2023)?
10OptimizePress Review: Create Landing Pages with Ease
11How to Make a Website: Complete Beginner’s Guide
12Top 22 Best Free Stock Photo Resources For Your Site
1317 of the Best Google Fonts for 2023 (And How to Use Them in WordPress)
14How to Start a Blog in 2022 (Step by Step Guide)
15How To Fix ‘503 Service Unavailable’ WordPress Error
1611 Best Contact Form Plugins for WordPress in 2023
17How to Add a Custom Logo to Your WordPress Site
18How to Fix Error Establishing a Database Connection in WordPress

WPEngine: 50% OFF Deal

Save 50% on one of the best managed hosting providers.

Get this Deal

Flywheel(our review)

Our Newsletter

Get awesome content delivered straight to your inbox.

Thank you!

You have successfully joined our subscriber list.

.
Featured In Forbes Huffpost Entrepreneur SEJ

About WPKube

WPKube is an online WordPress resource which focuses on WordPress tutorials, How-to’s, guides, plugins, news, and more. We aim to provide the most comprehensive beginner’s guides to anything about WordPress — from installing plugins, themes, automated installs and setups, to creating and setting up pages for your website.

We have over 500+ tutorials, guides, product reviews, tips, and tricks about WordPress. Founded by Devesh Sharma, the main goal of this site is to provide useful information on anything and everything WordPress.

Twitter Facebook

Useful Links

  • Behind the Scenes
  • Beginner Guides
  • WordPress Hosting
  • WooCommerce Themes
  • MeridianThemes
  • Exclusive WordPress Deals
View All Guides »

Reviews

  • WPEngine 33% OFF
  • Thrive Leads
  • Flywheel 33% OFF
  • Divi Theme 20% OFF
  • Thrive Architect
  • Elegant Themes
Reviews »

Deals

  • InMotion Hosting
  • LifterLMS Coupon
  • LiquidWeb Coupon
  • WPEngine Coupon
  • A2 Hosting
  • FloThemes
More Deals »
© Copyright 2023 WPKube ® All Rights Reserved.
  • Contact
  • Site Terms
  • Disclosure
  • Privacy Policy