🧡 Skip to main content🔍 Skip to search

The Upload File Action transfers files from a folder on local machine to a directory on a remote server.

After the Upload File Action is completed, the information on its operations is temporarily stored in dynamic variables that can be retrieved by any other Action within the same Task via Variable Wizard. For example, these variables can be saved as text by Write to File Action, emailed to admin by Send Email Action or used as dynamic parameters in other Actions.

VariableDetails
Local file Returns the full path and filename of the file on the local machine that was the last file uploaded (regardless of whether a single or multiple files were uploaded).
Example:
  • D:\Job\intro.pptx
Remote file Returns the full path and filename of the uploaded file on the remote server. If multiple files were uploaded at once, it returns the last destination filename.
Example:
  • /bucket/intro.pptx
List of local files Returns a complete list of files from the local machine that were uploaded to the remote server. Files are sorted in strictly alphabetical order.
Example:
  • D:\Job\b2b.xlsx|D:\Job\intro.pptx
List of remote files Returns a list of uploaded remote files on the server. Files are sorted alphabetically.
Example:
  • /bucket/2024/b2b.xlsx|/bucket/2024/intro.pptx
Number of uploaded files Returns the number of uploaded files.
Example:
  • 2
Completion statusRetrieve Action execution status with a possible value—Successful or Failed. Or Empty, if Action has not been executed yet.
Adjust()Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.
YouTube video · Automate SFTP uploads on Windows

Automatic list processing…

The Upload File variables returned as lists (even multi-level) can be automatically processed in further Actions. Use the For Each Action to parse a given text string (any list variable) and sequentially retrieve its elements one by one · see list processing examples. Or, use the Split Text and Lookup Text Actions to access list elements by their indices.

Seamless automation. Take a quick 90-second journey!

Just ask…

If you have any questions, please do not hesitate to contact our support team.