This particular approach, where transferred files are archived, allows us to delete any files in the source archive once the transfers are finished. A failed transfer will not be archived and therefore will not be deleted. However, the delete MUST wait until the transfer is finished.
1. Type :w and press Enter. The Wait_For_Completion form is displayed.
2. Click OK to insert the command in the script.