# On-prem files - Rename file
This action moves an exsiting file to a different folder. The file and destination folder must exist for this action to work.
Rename file action
# Input fields
Select the file to rename. This can be done either by selecting a file from the pick list, or toggling the input field to text mode and providing the file path. Only files can be renamed.|
This should be relative to the base path you define in the connection profile. Learn about relative path.
|New file name||Provide the new name of the file, including extension. This should only be the file name without any path.|
# Output fields
|File name||Name of the file, with extension.|
|File path||This is the path of the file. This path is relative to the base path you define in the connection profile. Learn about relative path.|
|File size (bytes)||Size of the file contents in bytes.|
|Created time||This is the time that the file was created. This value is set by your OS.|
|Last modified time||This is the last modified time of the file. This value is updated by your OS.|
Didn’t find what you are looking for?