Skip to content
GravityKit
Buy
Sign in
0 items
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    Ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
  • Plugins

    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

    View All Products

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies

    How to build...

    • Client Portal
    • AI-Built Directory
    • Conference Website
    • WordPress CRM
    • Admin Dashboard
    • Inventory Management
    • Vendor Portal
    • Document Library
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityActions
    • GravityBoard
    • GravityCalendar
    • GravityCharts
    • GravityEdit
    • GravityExport
    • GravityImport
    • GravityMath
    • GravityRevisions
    • GravitySearch
    • GF Widget for Elementor
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GravityExport Lite
    • GF Zero Spam
    • GravityMigrate

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Agency accounts
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityActions
      • GravityBoard
      • GravityCalendar
      • GravityCharts
      • GravityEdit
      • GravityExport
      • GravityImport
      • GravityMath
      • GravityRevisions
      • GravitySearch
      • GF Widget for Elementor
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GravityExport Lite
      • GF Zero Spam
      • GravityMigrate
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
      • Agency accounts
    • Contact

    GravityExport

    • Checkbox values are missing from exports after a choice is deleted
    • Connecting Box to GravityExport
    • Error: “Allowed memory size exhausted” when exporting entries
    • Error: “Unable to copy file” when sending an export to an FTP or SFTP server
    • Export Gravity Forms entries to Google Sheets
    • Exporting GP Nested Forms entries with GravityExport
    • Adding a download button for entries in GravityView using GravityExport
    • Attaching all entries to an email in GravityExport
    • Attaching an entry export to a notification using GravityExport Lite
    • Changing labels in GravityExport
    • Changing the File Format of a Report by Adding the File Extension to the URL
    • Changing values in GravityExport
    • Connecting Dropbox to GravityExport
    • Connecting FTP to GravityExport
    • Customize Download URLs in GravityExport
    • Exporting a single entry with GravityExport
    • Exporting Repeater fields with GravityExport
    • Filtering entries included in a GravityExport download
    • Filtering exports by date in GravityExport
    • Formatting an address in GravityExport
    • Getting started with GravityExport
    • GravityExport and caching plugins
    • GravityExport Developer Hooks
    • GravityExport FAQ
    • GravityExport field: BaseField
    • GravityExport field: DateField
    • GravityExport field: FileUploadField
    • GravityExport field: ListField
    • GravityExport field: MetaField
    • GravityExport field: NotesField
    • GravityExport field: NumberField
    • GravityExport field: ProductField
    • GravityExport field: SectionField
    • GravityExport field: SeparableField
    • GravityExport Filters
    • GravityExport: How to output dropdown field labels Instead of values
    • GravityExport: Splitting complex fields in Multiple Columns
    • GravityExport: The “Enable multi-row splitting” setting
    • How is GravityExport Lite different from GravityExport?
    • How to configure GravityExport to save File Upload fields
    • How to export all forms in bulk to an Excel spreadsheet
    • How to Export Checkbox Fields as Separate Columns in GravityExport
    • How to re-run a GravityExport Save feed
    • How to schedule automated exports
    • How to trigger a GravityExport Save Feed
    • How to use FastCron to trigger exports on a custom schedule
    • PDF export settings and style controls
    • Restricting file access in GravityExport & GravityExport Lite
    • Styling PDF file exports using CSS
    • Home
    • Docs
    • GravityExport
    • Error: “Unable to copy file” when sending an export to an FTP or SFTP server

    Error: “Unable to copy file” when sending an export to an FTP or SFTP server

    Estimated reading: 5 minutes

    Updated on December 1, 2026

    A GravityExport Save feed that sends its file to an FTP or SFTP server shows Unable to copy file from local://… to target://… when a step of sending the file to the server fails. The message names the file but not the step. This guide shows how to find the cause, first with Test Connection and then in the folder on the server.

    What the error looks like #

    After you click Export Now on the feed list, the message appears in a red notice above the list, and the feed’s Last Run column says Failed. On the feed’s Activity Log tab, a red alert names the most recent export that failed, and the table lists the run as Failed: Unable to copy file from local://… to target://….

    The Activity Log tab of a GravityExport Save feed. A red alert reads "The most recent export, on December 1, 2026 @ 1:55 pm, failed: Unable to copy file from local://volunteer-roster-2026-12-01.csv to target://volunteer-roster-2026-12-01.csv", and the table below lists that failed run above an earlier run that exported 5 rows.

    local:// is the export file on your WordPress site, and target:// is the name it gets in the Remote Path folder on the server. A scheduled feed with failure alerts turned on shows the same message in its dashboard notice and its email.


    Check 1: Test Connection #

    1. In your WordPress admin, go to Forms, hover over your form and click Settings.
    2. Open the GravityExport Save tab, hover over the feed and click Edit.
    3. Open the Storage tab and click Test Connection at the bottom.

    Test Connection signs in with the values on the page and writes a small test file to the Remote Path folder. It uses the values as they are on the page, saved or not, while exports use the saved settings. Click Save Settings after you change anything, so the two match.

    What the test says points to the next step:

    • “Your connection is properly configured.” The sign-in works. A passing test doesn’t prove that an export works, for example when Remote Path has form or field merge tags, so go to check 2.
    • “Unable to connect or log in. Please ensure that the host/port and your username/password are correct.” Check Address, Port, Username and Password with whoever manages the server. If the site moved to a new host recently, see After moving your site to a new host.
    • “Unable to save file. Please ensure that the destination folder exists and that you have write permissions.” Check the folder as The Remote Path folder describes.
    • “Unable to delete file. Please ensure that you have the correct permissions.” on a feed set to FTP (Insecure) or FTP + SSL. The server didn’t let the account delete the test file, which stays in the folder. Exports don’t delete files on the server, so go to check 2.
    • “We could not perform the connection test due to a network or server error.” on a feed set to FTP (Insecure) or FTP + SSL. These two options need PHP’s FTP extension on your web server. Without it, Test Connection shows this message, and each export records Failed: Undefined constant "FTP_BINARY" in the Activity Log. Ask your web host to turn on the FTP extension, or choose SFTP if your server offers it.

    Check 2: Look for the file on the server #

    Click Export Now on the feed list, as How to re-run a GravityExport Save feed shows, and read the result on the feed’s Activity Log tab. Then open the Remote Path folder on the server, with an FTP program such as FileZilla or the file manager your host provides. What you find there tells you which step failed.

    Files whose names start with gravityexport-save-connection-test- and end in .tmp are test files left by Test Connection. You can delete them.

    The file is there, with the time of the failed export

    Open the file. If it opens and holds every entry it should, the upload worked and the server refused the next step: right after each upload, GravityExport sets the file’s permissions. Ask whoever manages the server to let this account change the permissions of the files it uploads.

    If the file doesn’t open or is cut short, the upload itself stopped. Ask whoever manages the server for its log at the time of the failed export.

    An older file with the same name is there, unchanged

    The most likely cause is a server that doesn’t let the account replace a file. The preset file names of an All Entries feed hold the date but not the time, such as gravityexport-30-Volunteer-sign-ups-2026-10-30.xlsx, so a second export on the same day writes to the same name.

    To add the time to the name:

    1. On the feed’s File Settings tab, choose Custom Filename under Filename Format.
    2. In the Custom Filename box, enter a name with {DATE} or {TIMESTAMP}, such as volunteer-roster-{DATE}. Both add the export’s date and time, so the name looks like volunteer-roster-2026-12-01T1346590000.csv.
    3. Click Save Settings.
    The File Settings tab of a GravityExport Save feed with Custom Filename chosen under Filename Format. The Custom Filename box below the list of date merge tags holds volunteer-roster-{DATE} and is outlined in red, with an arrow pointing at it.

    If the file has to keep the same name each time, ask whoever manages the server to let this account replace its files instead. If the export still fails with a new name, follow No file is there.

    No file is there

    Check the folder as The Remote Path folder describes. If the folder is right, ask whoever manages the server for its log at the time of the failed export, which can show the step the server refused.

    If the server’s log shows no attempt to upload the file, ask your web host to check your site’s temporary folder. GravityExport writes the export file there first and reads it back to send it, and a file it can’t read never reaches the server.


    The Remote Path folder #

    Remote Path is the folder the file goes to, as an absolute path such as /upload/. Check it against the server:

    • Some servers let an account add files only in one folder, such as /upload/, and not in its top folder /. Ask whoever manages the server which folder this account can write to.
    • Over SFTP, an export creates a Remote Path folder that doesn’t exist yet, if the server lets the account create folders there. Over FTP (Insecure) and FTP + SSL, create the folder on the server before the first export.
    • If Test Connection says “Unable to save file.”, check the path letter by letter and check that the account can add files and create folders there. Then run Export Now and look at the result in the Activity Log and in the folder.
    • Merge tags work in Remote Path. With /reports/{YYYY}/, the files of 2026 go to a /reports/2026/ folder.
    • GravityExport changes folder names in Remote Path the same way it changes file names: spaces become hyphens, and symbols such as &, #, ( and ) are removed. A Remote Path of /reports/Daily Reports/ writes to /reports/Daily-Reports/. Name the folder on the server with letters, numbers, - and _ only.

    After moving your site to a new host #

    GravityExport encrypts the saved Password and Private Key Passphrase with a key made from the AUTH_SALT value in your site’s wp-config.php file. If the new host gave the site new salts, the saved values can no longer be read, and the feed can’t sign in. The Password field still shows a row of dots, so the page looks the same as before.

    To fix it, on each feed that sends files over FTP or SFTP:

    1. Open the feed’s Storage tab.
    2. Clear the Password field and type the password again. If the feed signs in with a key, type the Private Key Passphrase again too.
    3. Click Save Settings.
    The FTP Storage Configuration settings of a GravityExport Save feed with SFTP selected. The Password field, filled with dots, is outlined in red with an arrow pointing at it, between Private Key Passphrase and Remote Path.

    Connecting FTP to GravityExport covers each FTP setting.

    Still stuck?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Get better at Gravity Forms every Friday

      Was this page helpful?

      Table Of Contents
      • What the error looks like
      • Check 1: Test Connection
      • Check 2: Look for the file on the server
      • The Remote Path folder
      • After moving your site to a new host
      GravityKit
      • How to Build It
      • GravityKit vs competitors
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Partner Directory
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Brand Kit
      • Privacy Policy
      • Terms of Service (“Terms”)
      I am a...
      • Nonprofit
      • Web agency
      • Small business owner
      • Web developer
      • Educational institution
      • WordPress freelancer
      • Startup founder
      • One-person agency
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      See past editions
      • Facebook
      • Twitter
      • Mastodon
      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.