in reply to (Ovid) Re: uploading
in thread uploading

will this allow me to select more than 'one' file at a time? (i trying to upload a whole directory of 'pictures' for a gallery page)... thanx ovid...this points me in the right direction anyway.....

Replies are listed 'Best First'.
(Ovid) Re(3): uploading
by Ovid (Cardinal) on Feb 25, 2002 at 22:53 UTC

    Sorry, you can't upload a directory, either. What you want to do is either have multiple <input type="file"...> fields or have your users create a tarball or zip archive of the files and then upload the archive.

    Cheers,
    Ovid

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

      thanx...that helps...... if you guys can keep this site 'up' (lol) it's the best one i found yet for perl help.....
Re: Re: Re: uploading
by thraxil (Prior) on Feb 25, 2002 at 22:55 UTC

    html doesn't provide a way for the user to select an entire directory or multiple files for upload at once. the best you can do is have multiple <input type="file"> elements and have the user go through and select each file they want to upload individually. other than that, pretty much all you can do is either require the user to zip the directory they want and upload the zip file, or you can set up an ftp server that they can copy their files to.

    anders pearson

      i have my own ftp server at my disposal...thats another approach...thanx guys