Gravity Forms to FTP

How to Upload Gravity Forms Entries to FTP

Written by Casey Burridge

Last updated:

Categories GravityExport

Are you wondering how to backup your Gravity Forms entries to your own server using FTP?

When someone submits your form in Gravity Forms, that information is saved in your WordPress database. On the one hand, this is a good thing because it gives you full control over your data. But on the other hand, it’s an inconvenient way to store and share data as users need administrator access to view and download it.

Needless to say, granting users admin privileges to your website so that they can view form entries isn’t a good practice from a security point of view.

Sharing files with users over FTP is fast, convenient and it doesn’t require access to your WordPress website! Keep reading to find out how to store and transfer your Gravity Forms data using FTP.

What Is FTP?

FTP (which stands for “File Transfer Protocol”) is a method for transferring files over the internet. Amazingly, FTP was invented in the 1970s, more than 40 years ago!

To use FTP, you need to run an FTP client and initiate a connection to a remote server running FTP. After establishing the connection, the client can send and receive files from the remote server (also called the FTP “host” or “site”).

Web developers often use FTP to make changes to a website as it allows you to manage and update large amounts of files.

Advantages of FTP Storage

There are several advantages to sharing and storing your files using FTP. Here are some of the main ones.

Store and Transfer Large Files

Many businesses use FTP because it’s an effective way to transfer large files. With FTP you can also move multiple files at one time, reducing interruptions and speeding up the file transfer process. Trying to share large files over email or Slack simply doesn’t work as these services are not built for file transfer.

Having a central, FTP server is a great way to share files with team members.

Access Your Reports Anytime, Anywhere

To access files over FTP, all you need is an internet connection. Furthermore, with FTP, you don’t have to worry about interruptions or losing your transfer progress when you get disconnected from the internet. When the network is available, FTP will automatically reconnect and pick up where you left off.

Installing GravityExport

To get started uploading your reports to FTP, you’ll need to purchase GravityExport from our website. GravityExport is a powerful plugin that makes it easy to export Gravity Forms entries.

Alternatively, if you have a GravityView All Access license, you can install GravityExport from inside your WordPress admin menu at no extra cost. To do this, log in to your website, hover over Views, and click on Manage Add-Ons. Next, scroll down until you see GravityExport and click Install.

The 'Manage Add-Ons' page under 'Views' in WordPress

Creating a New Report

After installing GravityExport, you’ll be able to create a new remote storage feed to send files directly to your own FTP server. Start by hovering over Forms and clicking on Forms. Next, hover over your form and click Settings.

On the form settings page, click on the tab to the left that says “GravityExport Save”. To add a new feed click Add New and give it a name. Configure your report by choosing a file type (GravityExport allows you to export your form data as a PDF, CSV, or Excel file!).

An arrow pointing to the 'Add New' button on the GravityExport Save feed page

Now, under Storage Type select FTP Storage.

Selecting the FTP storage type for Gravity Forms FTP integration

Next, specify what data the report should contain and give it a custom file name. When you’re done, you’ll need to scroll down to the FTP settings and enter your FTP server details.

Finding Your FTP Details

To integrate GravityExport with your FTP server, you’ll need to input your FTP hostname, username, and password. If you’re struggling to find your FTP credentials, here are some tips.

Check inside your hosting account

If you have a web hosting account, you should be able to find your FTP details inside the admin panel. 

SFTP details including the Host Name, Username and Password

Try your cPanel login details

If you can’t find any FTP details in your hosting account, then your FTP login details may be the same as your cPanel login details. For the hostname, use “yourdomain.com” or “ftp.yourdomain.com”.

Contact your web host’s support

If you still can’t connect to FTP, contact your web host’s support and ask them to send you your login details. If you have never accessed FTP before, you may need to set a password first.

Configuring the FTP Settings

Now that you have your FTP server details, scroll down to where it says “FTP Storage Configuration” and type in the Hostname (Address), Username, and Password.

FTP sotrage configuration settings for integration Gravity Forms with FTP

You’ll notice there are different connection types for FTP.

  • Insecure (FTP)
  • FTP + SSL
  • SFTP

We recommended connecting over SFTP (which is the default) as it’s the most secure. SFTP uses SSH (secure shell) encryption to protect your data while it’s being transferred. Due to security concerns, many hosts only offer SFTP as opposed to standard FTP.

You’ll also see the following settings:

  • Passive (PASV)
  • Port
  • Path

Here’s a brief breakdown of each one and what they refer to.

Passive (PSV)
Passive mode is an alternative way to establish an FTP connection. This is the preferred way to access FTP servers that are behind a firewall.

Port
Specify the port number to use when connecting to your FTP server. The default connection port for SFTP is 22.

Path
Here you can specify the path for where you want your report to be saved. For example: /home/user/gravityforms/reports/.

After configuring the integration, it’s time to test it to ensure everything is set up correctly.

Testing the Integration

To test the integration with your FTP server, open your form in Gravity Forms and submit an entry. After that, you’ll need to access your server to see if the file was uploaded successfully.

The best way to access your FTP storage is to connect to your server using the file manager or an FTP client like FileZilla or WinSCP.

FTP client for accessing an FTP server

To do this, open your chosen client and ensure you’re connected to the internet. Then, type in your FTP details, and click “Connect”.

Gravity Forms FTP Upload: Final Thoughts

FTP (File Transfer Protocol) is a way of transferring files between servers on the internet. FTP has been around for over 40 years and is an integral tool for sharing, storing, and organizing files.

GravityExport allows you to send Gravity Forms entries to an external server using FTP. This makes it easy to share files with other users who can access reports anytime, anywhere, without needing admin access to your site.

To get started uploading your Gravity Forms entries to FTP, get GravityExport today!