Explore Plans
Mobile menu Close menu
EasyFTPEasyFTP

Upload File

This action will upload a file to a FTP, FTPS, or SFTP server.

Developer info

API endpoint slug
easyftp.upload_file
Filter code method
Easyftp.uploadFile.skip(string?: reason)
Runtime method
runAction("easyftp.upload_file", {})

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 URL Text input > File

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)

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.uploadFile.setFolderPath(string: folderPath)

Custom file name Text input > File name

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)

Custom file extension Text input > Other

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)

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.uploadFile.setOverwrite(string: overwrite)