in reply to Re: Upload Folders
in thread Upload Folders

Ah...to be more precise...

I would much prefer a server side perl solution and I am wondering if there may be a clever way to fool browsers to send all files in a selected dir in a single multipart form (or to somehow iterate over the client files).

Replies are listed 'Best First'.
Re: Re: Re: Upload Folders
by halley (Prior) on May 21, 2003 at 21:42 UTC

    If I had a browser that could be fooled into sending all the files in some directory, I'd stop using it.

    The Netscape upload hack is client-driven, not server-driven. The browser would have to support some scheme to send more than one file. Then you're into promoting a new standard.

    --
    [ e d @ h a l l e y . c c ]

Re: Re: Re: Upload Folders
by Cody Pendant (Prior) on May 21, 2003 at 23:22 UTC
    Nothing to do with Perl, but if JavaScript is allowed, and the number and names of the files were predictable, it might be possible, right?

    I mean, if you knew that the files were always called "1.jpg" through to "30.jpg" then you could script the form values and the form submissions?

    It's still a bad idea, I'm just thinking aloud.
    --

    “Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
    M-J D