in reply to Re: CGI upload script problem with Explorer.
in thread CGI upload script problem with Explorer.

eric256 & Ieronim,

Your point is well taken, this is an internal application residing on an intranet or available through a VPN. It is essentially a highly specialised content manager that gets a whole lot of input from the user and packages up TAR files to be uploaded from my app server to a staging server in an IBM/Webshpere/Java environment. We need to have continuity of names from the designers desktop all the way through production. I do, however, appreciate the suggestions. Thank you!

jdtoronto

  • Comment on Re^2: CGI upload script problem with Explorer.

Replies are listed 'Best First'.
Re^3: CGI upload script problem with Explorer.
by Ieronim (Friar) on Jul 25, 2006 at 22:27 UTC
    So, if you are sure that your users won't put any funny characters in their filenames, just remove the caret character from the regex in your code. Different browsers set differen names for uploaded files, but all of them include the base name. If i'm not mistaken, [\w-.] cannot be a path separator on any system.

         s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print