Ummmm, perhaps if some thought is put into this you'll be able to figure out why you CAN'T do this. It's the same reason that you can't give <input type="file"> a value. It's a security risk. If you could just grab any files you wanted off anybody's computer there would be worldwide confusion and the end of civilization as we know it.
Multiple input boxes are about all you can do in this situation I think. 'Tis unfortunate, but true. Brian Johnson Up & Running (http://www.uarss.com) Computer Service/Software Development Phone: 906-483-4917 E-Mail: [EMAIL PROTECTED] For fast relief to computer stress call Up & Running Because throwing it out the window is not an option. > -----Original Message----- > From: Emmanuel Jaeckert [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 27, 2002 9:40 AM > To: [EMAIL PROTECTED] > Subject: Re: Transferring files from a client > > I think multiple <input type="file"> could do the job but what i want is > somewhat different : > user wouldn't have to choose files, they should be chosen programatically, > so i want my script to look to local directory to achieve file list to > upload, but for security issue, i think that nor Perl nor JS could do it. > Am > i right ? > > Thank > > "Fliptop" <[EMAIL PROTECTED]> a écrit dans le message de news: > [EMAIL PROTECTED] > > Emmanuel Jaeckert wrote: > > > > > thank you for your ans, but as far as i understand (maybe i don't) > cgis's > > > upload() method only work for one file based on the user choice after > a > > > manual browse... > > > > > > I want to permit user to enter any text in an input box and get all > files > > > eg : the user type "13", files i want to be uploaded are : > FD???13.FIC. > > > User don't know "???" (nor i don't). > > > > > > Perhaps there's no way to do it with perl ? > > > > > > i don't think so - and i don't think it's a perl issue either, but > > rather something to do with the http protocol. when i want to pass > > multiple files, i provide multiple <input type="text"> boxes. > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]