A trimmed down version of the D6 download_file module