If the remote server supports FTP protocol , you can use the following components of designer´s palette (Internet/FTP) to do the job:
tFtpGet than tFtpDelete.
aski
I already tried using those components but there is one problem which bugs me.
By the time, GET has finished copying all the files to local directory, there might be a scenario, in which the remote directory is updated with a new file.
If the job now runs DELETE, then all the files will be deleted including the new ones.
I only want to delete the files which i have copied, hence the MOVE operation.
I could not find any component which could help me accomplish this?
Is there any workaround?
Hello umair
After getting the files in a local folder, you can use a tFileList component to iterate this folder and delete the files on server.(see the srceenshot)
Best regards
shong
Thanks a lot for this topic. I only replace the file name by a template ("nam*")in both tFTPget an tFileList and now my job can massively transfer files and the delete it. It's usefull!!!! Didier
Thanks a lot for this topic. I only replace the file name by a template ("nam*")in both tFTPget an tFileList and now my job can massively transfer files and the delete it. It's usefull!!!! Didier
Hi Shong,
I have similar job which you had discussed earlier ,i have kept put component between tFTPfilelist and tFTPdelete to place my file in output folder of diffrent server ,but I am getting the files which already been deleted in source folder along with new files.
please help me out