
FTP n8n INTEGRATION: AUTOMATE FTP WITH N8N
Looking to automate your file transfers with n8n? The FTP n8n integration gives you complete control over your remote file server operations directly from your automation workflows. With 5 powerful actions at your disposal, you can download, upload, list, rename, and delete files on any FTP server without writing a single line of code.
This native integration transforms how you handle file operations. Instead of manually connecting to your FTP server to move files around, n8n handles everything automatically. Whether you're synchronizing product catalogs, backing up daily reports, or processing incoming data files, the FTP node becomes your automated file handler.
In this guide, you'll discover how to connect your FTP server to n8n, explore each available action in detail, and learn practical use cases to streamline your file management workflows.
Need help automating Ftp with n8n?
Our team will get back to you in minutes.
Why automate Ftp with n8n?
The FTP n8n integration provides 5 essential actions to fully automate your file server operations. You gain programmatic control over downloads, uploads, directory listings, file renaming, and deletions—all orchestrated through visual workflows that run on schedule or in response to events.
Significant time savings stand out as the primary benefit. No more logging into FileZilla or WinSCP to manually transfer files. Set up your workflow once, and n8n handles every file operation automatically. A task that took 15 minutes of manual work now executes in seconds, 24/7, without your involvement.
Improved reliability and consistency come built-in. Human file transfers introduce errors—wrong folders, forgotten files, overwritten data. Automated FTP workflows follow exact rules every time. Your backup runs at 3 AM whether you're awake or not. Your import files land in the correct directory with the correct naming convention, always.
Seamless integration with 400+ apps multiplies the value. Connect your FTP server to Slack via n8n for upload notifications, trigger file downloads when a new row appears in Google Sheets, or automatically process CSV files through your entire data pipeline. The FTP node becomes one piece of a larger automation machine.
Concrete use cases include: automatically backing up database exports nightly, downloading supplier product feeds for processing, uploading generated reports to client portals, cleaning up old files after archiving, and synchronizing content between staging and production servers.
How to connect Ftp to n8n?
! 1 stepHow to connect Ftp to n8n?
- 01
Add the node
Connecting your FTP server to n8n uses credential-based authentication. You'll need your FTP server hostname, port, username, and password ready before starting.Basic configuration:Open your n8n workflow and add an FTP node from the node panel by searching "FTP"Click on "Credential to connect with" dropdown and select "Create New Credential"Enter your FTP connection details: Host (your FTP server address like ftp.example.com), Port (usually 21 for standard FTP), Username, and PasswordTest the connection by clicking the test button to verify n8n can reach your FTP serverSave the credential and it becomes available across all FTP nodes in your workflows
TIP💡 TIP: If your connection fails, check whether your FTP server requires FTPS (FTP over SSL) instead of standard FTP. Some hosting providers only allow secure connections. In n8n, you may need to configure additional SSL options or use the SFTP node instead for SSH-based file transfer. For more advanced troubleshooting, check our n8n troubleshooting guide.- 01
Need help automating Ftp with n8n?
Our team will get back to you in minutes.
Ftp actions available in n8n
01 Action 01FTP - Upload
The Upload action sends files from your n8n workflow to your FTP server. When your workflow generates reports, exports data, or receives files from other sources, this action delivers them to your remote server automatically.
Key parameters:
- Credential to connect with: Dropdown to select your FTP account credentials. Required for server authentication.
- Operation: Set to "Upload" to send files to the FTP server. Required.
- Path: Text field specifying the remote destination path including filename, like
/uploads/report-2024.pdf. Required to define where the file lands on the server. - Binary File: Toggle switch that, when enabled, indicates you're uploading binary data (images, PDFs, archives). Enable this for most file types.
- Input Binary Field: When Binary File is enabled, specify which field in your workflow contains the file data. Defaults to "data". Required when uploading binary files.
Use cases:
- Upload generated PDF reports to a client-accessible FTP folder
- Send processed CSV exports to partner servers
- Push backup archives to remote storage locations
- Deliver transformed images or documents to content distribution points
This action completes the file transfer loop—whatever your workflow produces can be delivered to any FTP server automatically.

02 Action 02Rename
The Rename action changes the name or location of files and directories on your FTP server. Beyond simple renaming, you can effectively move files by specifying a different directory path in the new name.
Key parameters:
- Credential to connect with: Dropdown for FTP credential selection. Required for server connection.
- Operation: Set to "Rename" to modify file or directory names. Required.
- Old Path: Text field for the current full path and filename, like
/public/documents/old-file.txt. Required to identify what you're renaming. - New Path: Text field for the desired new path and filename, such as
/public/documents/new-file.txtor/archive/processed-file.txt. Required to define the new name or location. - Options: Expandable section for additional configuration if needed.
Use cases:
- Rename processed files to indicate completion status (e.g., adding "_processed" suffix)
- Move files from incoming to processed folders after handling
- Organize files by adding date prefixes or other identifiers
- Restructure server directories by relocating files programmatically
Use this action to maintain organized file structures and clearly mark file states within your automated workflows.

03 Action 03FTP - List
The List action retrieves a directory listing from your FTP server, returning information about all files and folders at a specified path. Use this to discover what files exist before processing them, or to build file inventories.
Key parameters:
- Credential to connect with: Dropdown for selecting your FTP account. Required for authentication.
- Operation: Set to "List" to retrieve directory contents. Required.
- Path: Text field specifying which directory to list, such as
/for root or/uploads/incoming/. Required to define the target directory. - Recursive: Toggle switch that, when enabled, lists all files and subdirectories recursively. When disabled (default), only immediate directory contents appear.
Use cases:
- Check an incoming folder for new files to process
- Build an inventory of all files on a server for auditing
- Find files matching certain patterns for batch operations
- Monitor directories for changes by comparing listings over time
This action is perfect for workflows that need to conditionally process files or maintain awareness of server contents.

04 Action 04FTP - Download
The Download action retrieves files from your FTP server and brings them into your n8n workflow as binary data. This is your go-to operation whenever you need to process, transform, or move files from a remote server into your automation pipeline.
Key parameters:
- Credential to connect with: Select your pre-configured FTP account from the dropdown. This required field authenticates your connection to the server.
- Operation: Set to "Download" to retrieve files from the FTP server. Required to define the action type.
- Path: Specify the full path to the file you want to download, such as
/public/documents/file-to-download.txt. This required text field tells n8n exactly which file to retrieve. - Put Output File in Field: Define the binary data field name where the downloaded file will be stored. Defaults to "data" and is required for the workflow to access the file contents downstream.
Use cases:
- Download daily sales reports from a partner's FTP for processing in your data pipeline
- Retrieve product catalog CSV files from suppliers for inventory updates
- Pull log files from remote servers for analysis and alerting
- Grab backup files for verification or restoration workflows
Use this action when you need file contents inside your workflow—for parsing, transforming, sending elsewhere, or storing in another system like Dropbox or AWS S3.

05 Action 05Delete
The Delete action removes files from your FTP server permanently. Essential for cleanup operations, this action keeps your server organized by removing files that have been processed, archived, or are no longer needed.
Key parameters:
- Credential to connect with: Dropdown for FTP credential selection. Required for authentication.
- Operation: Set to "Delete" to remove files. Required.
- Path: Text field specifying the full path to the file to delete, such as
/public/documents/file-to-delete.txt. Required and must point to the exact file. - Options: Expandable section for additional settings if available.
Use cases:
- Clean up source files after successful processing and archiving
- Remove temporary files generated during workflow execution
- Delete outdated backups beyond your retention policy
- Clear incoming folders after files have been imported into your systems
⚠️ Important: Deletions are permanent. Consider adding a rename/move step to an archive folder before deletion, giving you a safety net if you need to recover files.

Build your first workflow with our team
Drop your email and we'll send you the catalog of automations you can ship today.
- Free n8n & Make scenarios to import
- Step-by-step setup docs
- Live cohort + community support
Frequently asked questions
Is the FTP n8n integration free to use?
Yes, the FTP integration is completely free and included in n8n's core node library. Whether you're using the open-source self-hosted version or n8n Cloud, you have full access to all FTP actions without additional costs or premium tiers. You can perform unlimited downloads, uploads, listings, renames, and deletions. The only limitation is your n8n instance's execution quota on cloud plans, which applies to all workflows equally. Self-hosted installations have no such limits—run as many FTP operations as your server can handle.Can I connect to SFTP servers with the n8n FTP integration?
The FTP node specifically handles standard FTP and FTPS (FTP over SSL/TLS) connections. For SFTP (SSH File Transfer Protocol), n8n provides a separate dedicated SFTP node with equivalent functionality. If your server requires SSH-based file transfer—common with modern hosting providers prioritizing security—search for the SFTP node in n8n instead. The configuration and available actions are similar, but the underlying connection protocol differs. Check with your server administrator if you're unsure which protocol your server uses.How do I handle large files or batch operations with the FTP n8n integration?
For large files, n8n streams data efficiently, but monitor your instance's memory limits on very large transfers. For batch operations, combine the List action with a Loop node: first retrieve the directory listing, then iterate through each file to download, process, or delete. Use the Split In Batches node if processing many files to prevent timeout issues. You can also implement error handling with try/catch patterns to continue processing even if individual file operations fail, ensuring one problematic file doesn't halt your entire workflow. For complex automation needs, consider working with our n8n agency to build robust file processing pipelines.



