in reply to Running script at server
open (FILE, '>'.$file) || die "Couldn't open $file for writing ($!)"; [download]