Filter - sequence of tasks
Posted: Mon Sep 07, 2020 9:30 am
Hello,
this may be a newbie question, but please bear with me (I checked the docu + searched in the forum without success). I use the rpmfusion 1.34.20 under CentOS.
My idea is to sftp-upload the events to a remote server (this works) and set the archive flag for a successfully transferred event. Unfortunately it seems that in the filter the archive-flag is set first and _than_ the file transfer begins. If the remote server is not available (broken, whatever) the event still got the archive flag .
Is it possible to transfer first and only if the transfer was successful to set the archive flag. The advantage would be that the upload would be tried for all unarchived events and I can be sure that every archived event is being transferred.
this may be a newbie question, but please bear with me (I checked the docu + searched in the forum without success). I use the rpmfusion 1.34.20 under CentOS.
My idea is to sftp-upload the events to a remote server (this works) and set the archive flag for a successfully transferred event. Unfortunately it seems that in the filter the archive-flag is set first and _than_ the file transfer begins. If the remote server is not available (broken, whatever) the event still got the archive flag .
Is it possible to transfer first and only if the transfer was successful to set the archive flag. The advantage would be that the upload would be tried for all unarchived events and I can be sure that every archived event is being transferred.