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
- 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
- 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)
- 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)
- 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)
- 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)
- 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)