write ftp file download to metadata