in reply to Multiple file upload

If you're trying to do this through a CGI script, then no, there's no convenient solution. Multiple upload boxes are the way to go. The CGI protocol does not allow for any "mass upload" or "upload directory" methods and Perl itself is simply running on the server and doesn't affect the client. Perhaps your users can tar or zip the directory and just upload the result? That would be much simpler, if you can train them to do it.

There might be a Javascript or Java solution, as these can run on the client side, there may be a way to do this. However, they are very restricted in what they can do for security reasons. No one wants malicious Javascript browsing through your files.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Replies are listed 'Best First'.
Re: (Ovid) Re: Multiple file upload
by petesmiley (Friar) on Jun 20, 2001 at 01:48 UTC
    If you can get your users to upload tar or zip files you could also have a checkbox indicate that the CGI script should uncompress it. Very minor scripting on the server side and an easy fix :) Although, dealing with users on this level is a bit painful.

    .....mental note to add this to my own site :) .....