Skip to main content
Skip table of contents

Move files from one filestore to another

Activity

MoveFiles

Description

Move files from one filestore to another

Available Since

1.4.9

Input :

PropertyName

Type

Required

Default Value

Description

fileTokens

STRING ARRAY

YES

List of filetoken to move

destinationFileStore

STRING

YES

Destination Filestore name

destinationPath

STRING

NO

/

Directory where to store files at destination

bufferSize

INT

NO

2048

Size of the buffer used while copying files

overwrite

BOOL

NO

TRUE

Indicate if we have to overwrite files at destination

deleteSource

BOOL

NO

TRUE

indicate if the source files must be deleted after being copied

Output

Array of destination file tokens

Example1: Move two files to “output” file store

Input

JSON
{
   "fileTokens":[
      "ftp://ftpsrv1/file1.txt",
      "s3://s3aws/file2.xlsx",
   ],
   "destinationFileStore": "output",
   "destinationPath":"/backup"
}

Output

JSON
[
   "ftps://ssh001/backup/file1.txt",
   "ftps://ssh001/backup/file2.xslx",
]

Example1: Copy one files to “output” file store

Input

JSON
{
   "fileTokens":[
      "ftp://ftpsrv1/file1.txt"
   ],
   "destinationFileStore": "output",
   "destinationPath":"/backup",
   "deleteSource":false
}

Output

JSON
[
   "ftps://ssh001/backup/file1.txt"
]

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.