or some variation. Id also break up the operation into subs ie get_list, get_file, transform_file, send_file - at each stange you can log errors and restart from there pushing file names into @retry_get_file, @retry_transform, @retry_send_file etc...
Ted
--
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
--Ralph Waldo Emerson