About this action
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This action will upload data to a file on an FTP, FTPS or SFTP server.
- API endpoint slug
- easyftp.upload_data
- Filter code method
- Easyftp.uploadData.skip(string?: reason)
- Runtime method
- runAction("easyftp.upload_data", {})
Action fields
Connection Dropdown list
- Label
- Which FTP, FTPS, or SFTP server do you want to send the file?
- Helper text
- Create your FTP/SFTP server connection in under a minute at www.EasyFTP.io (get activity logging & more).
- Slug
- connection
- Required
- true
- Can have default value
- false
File contents Text input > Long text
- Label
- File contents
- Helper text
- The contents of the file to upload
- Slug
- file_contents
- Required
- true
- Can have default value
- true
- Filter code method
- Easyftp.uploadData.setFileContents(string: fileContents)
Folder path Text input > Other
- Label
- FTP folder path
- Helper text
- Optional - Where do you want the file to be placed on the FTP server? Format: some/folder/path
- Slug
- folder_path
- Required
- false
- Can have default value
- true
- Filter code method
- Easyftp.uploadData.setFolderPath(string: folderPath)
Custom file name Text input > File name
- Label
- Custom file name
- Helper text
- The name of the file to write contents to
- Slug
- custom_file_name
- Required
- true
- Can have default value
- true
- Filter code method
- Easyftp.uploadData.setCustomFileName(string: customFileName)
Custom file extension Text input > Other
- Label
- Custom file extension
- Helper text
- Optional - If present, will replace the given file name's extension
- Slug
- custom_file_extension
- Required
- false
- Can have default value
- true
- Filter code method
- Easyftp.uploadData.setCustomFileExtension(string: customFileExtension)
Overwrite Dropdown list
- Label
- Overwrite
- Helper text
- Whether to overwrite this file (if one of the same name exists) or not.
- Slug
- overwrite
- Required
- false
- Can have default value
- true
- Filter code method
- Easyftp.uploadData.setOverwrite(string: overwrite)