!Loop through the files and copy them and then delete the copied files.\\

This job requires a CrushFTP Enterprise license to work.\\
----
You can set up a job to find files older than X days and then make sure the files are not changing and copy the files to a new path and delete the copied files from initial location. If a file is currently still in use so it can't be copied you can set an email notification so you can check on it later, or see why it could not been processed.\\

After it finds the items it will copy and delete them one by one and remove them from the list and then it will process the next item, until there are no more items remaining in the find list.\\

[attachments|looping_config.png]\\

[attachments|looping_find.png]\\

[attachments|looping_copy.png]\\

From CrushFTP 8 there is the option to specify custom smtp settings for sending the email, in case your smtp server does not accept all domains, or you need to use some other server from secondary domain address.\\

[attachments|looping_email.png]\\

[attachments|looping_delete.png]\\

[attachments|looping_variable.png]\\

[attachments|looping_jump.png]\\

[attachments|looping_wait.png]\\