This action will upload a file to a FTP, FTPS, or SFTP server.
- API endpoint slug
- easyftp.upload_file
- Filter code method
- Easyftp.uploadFile.skip(string?: reason)
- Runtime method
- runAction("easyftp.upload_file", {})
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 URL
- Helper text
- Works best with downloadable files
- Slug
- file_url
- Required
- true
- Can have default value
- true
- Filter code method
- Easyftp.uploadFile.setFileUrl(string: fileUrl)
- 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.uploadFile.setFolderPath(string: folderPath)
- Label
- Custom File Name
- Helper text
- Optional - Default: same name and extension as the original file will be used.
- Slug
- custom_file_name
- Required
- false
- Can have default value
- true
- Filter code method
- Easyftp.uploadFile.setCustomFileName(string: customFileName)
- Label
- Custom File Extension
- Helper text
- Optional: can only be used if you also specify a custom file name.
- Slug
- custom_file_extension
- Required
- false
- Can have default value
- true
- Filter code method
- Easyftp.uploadFile.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.uploadFile.setOverwrite(string: overwrite)