Axway SecureTransport User icon

Axway SecureTransport User

Interact with Axway SecureTransport End-User API v2.0 — file operations, transfers, and account management.

File → Rename

AI-generated

Summary

Rename a file or directory by specifying its current path and a new name.

Inputs

  • File Path (required) — Current path of the file or directory to rename
  • New Name (required) — New name for the file or directory, excluding the path

Output shape

a single JSON object confirming success and showing old and new paths

Returns an object with properties: success (true), oldPath (original file or directory path), newName (new name provided), and newFilePath (full new path). If an error occurs, an error message is returned or raised depending on node settings.

Examples

Example 1: Rename a file from /inbox/old-name.txt to /inbox/new-name.txt

Set 'File Path' to '/inbox/old-name.txt' and 'New Name' to 'new-name.txt'.

Links

Discussion