There is no control there in how it is transfered, assuming it is POSTing it from a web form. It's browser dependent, and browsers send differnt sorts of things. So you have to munge the filename anyways. But you want to do it anyways, because different OSes have different filename standards.
in my web upload scripts, I use this:
$filename =~ tr{:\\}{/}; # convert mac and windows directory sep
+erators to unix style
$filename =~ s{.*/}{}g; # strip everything before the last sepe
+rator
$filename =~ s{[^\w\-\.]}{}go; # remove funny characters
-- Snazzy tagline here
|