โ07-16-2018 06:28 PM
Iโm trying to copy files from one folder to another folder in a SFTP server. I have tried using File Operation. But Iโm not able to copy all the files present in the folder. Can anyone suggest how should I approach to copy those files.
โ07-17-2018 02:20 PM
You will probably want to use a DirectoryBrowser to get the list of files in the directory and then feed that into the FileOperation snap, like so:
The FileOperation snap can then be configured to get the Source from the incoming document (probably $Path in this case).
โ07-17-2018 02:49 PM
@tstack I have tried by feeding the files from directory browser to the file operation but its throwing an error โTarget already existsโ. There are no files in the PurchaseOrders folder.
โ07-17-2018 06:21 PM
Try adding a slash โ/โ at the end of your Target path.
โ07-17-2018 06:36 PM
@aleung Still its throwing the same error.