Bertie:
Have not received an email or notification of a message, I also checked my spam folder just to be certain. I don’t see anything in my profile that should prevent my receiving emails and I have gotten some from other forum members.
We use a two-step approach.
Step 1: This, for us, is usually a Script object. It performs your steps 1 & 2 using Script statements like PREP_PROCESS_FILENAME to list the files in question and GET_FILESYSTEM to acquire the needed attributes and decide what needs to be done. If files need to be deleted we will usually use a PREP_PROCESS statement.
Once we decide that a transfer needs to occur we use the PSET function to pass the needed attributes to a “generic” File Transfer object. Those attributes are the required ones that are unique to this particular file such as Login, To/From Hosts, To/From File names, etc. Then the ACTIVATE_UC_OBJECT with the PASS_VALUES parameter is used to start the File Transfer object, once for each qualifying file.
Step 2: The Process tab of the File Transfer contains the PUT_ATT statements that sets the passed attributes from Step 1 and the “miracle” occurs as it performs your step 3.
As is usually the case with this type of coding that devil is in the details. However, we have many executions per day of this type of processing and it works with about as much absolute certainty as we have come to expect from UC4. The transfers are mostly between Windows and Unix hosts. I might add that we are on V8.
Let me know if you need any more specific information.