Skip to content

SFTP Move / Rename

Type: sftp-move  ·  Package: SFTP Activities v1.0.0

Moves or renames a file within the SFTP server. Widely used to archive the processed: after downloading a file, move it to a /procesados folder on the server so that it is not taken again.

Move the file from sourcePath to destinationPath (both remote paths). If they are in the same folder with a different name, it is equivalent to rename.

ParameterEditorDescription
sourcePathexpressionSource remote path.
destinationPathexpressionDestination remote route.
ParameterEditorDescription
sessionsessionSFTP Connect session. Within a body it is inherited.

Archive on server after download:

SFTP Download remotePath = "/salida/datos.csv" localPath = "C:/descargas/datos.csv"
SFTP Move / Rename sourcePath = "/salida/datos.csv" destinationPath = "/salida/procesados/datos.csv"