Kandankarunai has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, How to download all the files in directory using Perl CGI(Unix system) program?

Replies are listed 'Best First'.
Re: Download all files in directory
by wind (Priest) on Apr 09, 2011 at 03:47 UTC
      it is a server side program. This is program want to download all files in user selected path?

        So you want to upload all the files in a directory to a website? Simply by selecting on the directory?

        Quick answer is that it's not possible as far as I know. The security permissions of a browser won't allow it.

Re: Download all files in directory
by JavaFan (Canon) on Apr 09, 2011 at 09:23 UTC
    Ask the user to tar up the directory, then use a standard file upload functionality to upload the tar file, which you then can untar server side.