Input TYPE=FILE Error Checking
jeff at vpservices.com
Tue Nov 20 18:50:58 CST 2001
Curtis Poe wrote:
> ----- Original Message -----
> From: "Jeff Zucker" <jeff at vpservices.com>
> > I suppose you could print back the original file location as a hidden
> > something like that. If that's possible (I haven't messed with
> > field and prompt the user to cut and paste it into the file upload
> > field. A bit more work for the user, but better than them turning over
> > their hard drive contents to unknown webmasters.
> No, that won't work. Using the file field requires manual intervention on
> the part of the person using the browser. Further, they have to use the
> "Browse" button. Simply typing in the name of the file will not work.
I suppose that might be true on some browsers. I just tried it on
Nutscrape 4.7 and Exploder 5.0 and they both let me type in a filename
without touching the browse button and my script uploaded the file fine.
More information about the Pdx-pm-list