The exec option This allows you to execute any command before AFD transmits the data. If one wants to resize the size of an image to a certain size one can use the following: $AFD_WORK_DIR/etc/DIR_CONFIG [directory] ~afd/data/in [files] * [destination] [recipient] file://afd@local/data/png [options] exec convert -geometry 848x480! %s resized_%s