LogoLogo
  • Docs
  • Connector Configuration
  • Knowledge Base
  • Changelog
  • Connector Configuration
  • ActiveCampaign
  • Airtable
  • Asana
  • AWS
    • AWS SNS
  • Azure Cognitive Services
  • Blackboard
  • CloudFlare
    • CloudFlare Lists
  • DeepAI
  • DocuSign
  • Dropbox
  • Facebook Business
  • Freshdesk
  • Google
  • Highrise
  • Hubspot
  • Imperva
  • Jira
  • Jotform
  • LinkedIn
  • Mailchimp
  • Microsoft
  • Microsoft Dynamics 365 CRM
  • Monday
  • Open AI
  • Pipedrive
  • Quickbooks
  • Redmine
  • Salesforce
  • Schoology
  • Screenshot API
  • ServiceNow
  • Shopify
  • Slack
  • Snowflake
  • Trello
  • Twilio
  • Twitter
  • Typeform
  • Utilities
    • AI
    • AppEvents
    • Controls
      • Condition
      • Counter
      • Digest
      • Each
      • Join
      • Join Each
      • On Start
      • Set Variable
      • Switch
    • Converters
      • Archive
      • CSV to HTML
      • CSV to JSON
      • CSV to XLSX
      • Data URI to File
      • HTML to CSV
      • HTML to JSON
      • HTML to XLSX
      • JSON to CSV
      • JSON to HTML
      • JSON to XLSX
      • XLSX to CSV
      • XLSX to HTML
      • XLSX to JSON
    • CSV
      • Add Column
      • Add Row
      • Add Rows
      • Create CSV
      • Delete Columns
      • Delete Rows
      • Export CSV
      • Get Cell
      • Get Row
      • Get Rows
      • Import CSV
      • Rename Column
      • Update Rows
    • Email
    • HTTP
      • Delete
      • Dynamic Webhook
      • GET
      • PATCH
      • POST
      • PUT
      • Response
      • Uptime
      • Webhook
    • Language
    • Tasks
      • Request Approval
      • Request Approval Email
    • Test
      • After All
      • Assert
      • Before All
      • Call Count
      • Join
      • Process E2E Results
      • Tick
    • Timers
      • Scheduler
      • Timer
      • Wait
    • Weather
    • XML
      • JSON to XML
      • Validate XML
      • XML to JSON
      • XPath
    • Storage
      • Clear
      • Find
      • Get
      • On Item Added
      • On Item Removed
      • On Item Updated
      • Remove
      • Save To File
      • Set
    • RSS
      • Get Feed
      • New Feed Item
    • FTP
      • Create Directory
      • Download File
      • Get File Info
      • New File
      • Remove Directory
      • List
      • Remove File
      • Rename File
      • Upload File
    • Forms
      • Form Action
      • Form Trigger
    • Filters
      • Contains
      • Equals
      • Greater Than
      • Identity
      • Is Not Empty
      • Less Than
      • Modulo
      • Not Equal
      • Range
    • Files
      • Archive File
      • Download File
      • Load File
      • Load File Lines
      • Remove File
      • Save File
  • Xero
  • Zendesk Chat
  • Zendesk Tickets
  • Zoho
Powered by GitBook
On this page
  • Overview
  • Usage
  • Notes

Was this helpful?

Export as PDF
  1. Utilities
  2. FTP

Upload File

Overview

The Upload File Component enables users to upload files to a remote FTP or SFTP server. It ensures seamless file transfer for automated workflows requiring remote storage management.

Usage

This component connects to an FTP/SFTP server and uploads a specified file to a given path.

Properties

Property
Type
Description

fileId

string

The unique identifier of the file to upload.

path

string

The full path where the file should be stored, including the filename. If a file already exists at the path, it will be overwritten.

Input Ports

Port
Description

in

Accepts the file ID and target path for upload.

Output Ports

Port
Description

out

Emits the uploaded file’s ID upon successful transfer.

error

Emits an error if the upload fails due to invalid paths, missing files, or permission issues.

Processing Logic

  1. Establishes FTP/SFTP Connection: Securely connects to the remote server using provided authentication credentials.

  2. Reads the Input File:

    • Retrieves the file stream from the provided fileId.

  3. Uploads the File:

    • Transfers the file to the specified path.

    • If a file with the same name exists, it is overwritten.

  4. Handles Success & Errors:

    • If successful, sends the uploaded file’s fileId to the out port.

    • If an error occurs (e.g., path is an existing directory or lacks permissions), emits a descriptive error to the error port.

  5. Closes Connection: Ensures the FTP/SFTP session is properly terminated.

Output Data Schema

Property
Type
Description

fileId

string

The unique identifier of the uploaded file.

errorCode (if error)

string

FTP/SFTP error code.

errorMessage (if error)

string

Description of the error encountered.

Notes

  • Supports FTP & SFTP: Works with both FTP and secure FTP (SFTP) connections.

  • Overwrites Existing Files: If a file exists at the target path, it will be replaced.

  • Error Handling: Properly manages missing files, invalid paths, and permission-related issues.

  • Efficient File Transfer: Enables automated file uploads to remote servers.

This component is ideal for workflows that require seamless file transfers to remote FTP/SFTP servers.

PreviousRename FileNextForms

Last updated 3 months ago

Was this helpful?