I need to move files from server A to server B. At the moment im using ListSFTP > FetchSFTP > PutSFTP processors and its moving only files (also from subdirectorys). So its like this: ServerA: input/folder1/file1 input/folder2/file2 After moving: ServerB: output/file1 output/file2
I need it to be: ServerB output/folder1/file1 outout/folder2/file2
PutSFTP has the configuration for remote path "output/" and create directory "True". Should I use some other processor in the middle or change the configuration to get the subfolders also, not just the files?
So at the moment if I check the files in the queue before PutSFTP processor, they have path "infput/folder1/" and sftp.remote.filename "input/folder1/file1". Should I change them with UpdateAttribute processor to "output/folder1/" and "output/folder1/file1"?