The pexec option This allows you to execute any command after AFD transmits a file. $AFD_WORK_DIR/etc/DIR_CONFIG [directory] ~afd/data/in [files] * [destination] [recipient] ftp://ftp_only@radolan/data [options] pexec ssh user@somehost bin/register_radolan_rw.sh