Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Upload Folders

by p6steve (Sexton)
on May 21, 2003 at 21:34 UTC ( #259900=note: print w/replies, xml ) Need Help??


in reply to Re: Upload Folders
in thread Upload Folders

Ah...to be more precise...

  • Needs to be any client HTML browser
  • No explicit client sw install allowed
  • No (FTP) server on client available
  • Perhaps "inline" software <suck>javascript or java applet</suck> allowed

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://259900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-05-20 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (75 votes). Check out past polls.

    Notices?