my $old = "output/download/$FILES[2]"; #### #move ($old, $new); # $new is the URL of the new filename print "old='$old'; new='$new'\n"; #### use strict; #### use warnings;