dpeinador
asked on
Problem with the browser in a CGI written in Perl
I have to download a list of files to an USB disk mounted in a Red Hat. One of the input parameters of the CGI is the USB mount point.
One of the requierments is to browse the USB directories to obtain the destinatary directory in the device. I have tried with the standard HTML control, but I can not set up the mount point where I want.
I have tried to install the Wx::Perl::BrowseButton, but I could not complete the module installation.
Are there any other alternative? Can anyone say me how to setup the BrowseButton module?
One of the requierments is to browse the USB directories to obtain the destinatary directory in the device. I have tried with the standard HTML control, but I can not set up the mount point where I want.
I have tried to install the Wx::Perl::BrowseButton, but I could not complete the module installation.
Are there any other alternative? Can anyone say me how to setup the BrowseButton module?
ASKER
The <input type = "file" .../> element does not work for me because you can not select a directory (only files) and also you can not set up the initial directory /media/usbdisk. So I think it is not enough solution.
The Wx::Perl::BrowseButton control seems to be enough, but the installation of the Wx module failed.
Are there any other posibility, perhaps a custom popup that shows the directories under /media/usbdisk/?
The Wx::Perl::BrowseButton control seems to be enough, but the installation of the Wx module failed.
Are there any other posibility, perhaps a custom popup that shows the directories under /media/usbdisk/?
What are you trying to do? It isn't clear what should happen on the client, and what on the server.
ASKER
Well, I have a touch screen PC that runs in exhibition centers. I need that when a user insert a pen drive or a SDCard the application shows a new screen that show a checkbox list with the files to download to the USB, also I need to give the user the option to choose the destiny directory in the USB disk to download.
I implemented a CGI with Perl that is shown only when the pen drive is inserted. Now I need to show the directory tree because the user needs to say where to copy the selected files.
Anyone can assist me with the directory browser control, now I am thinking in display a new CGI page that acts as a browser.
Thanks in advance
I implemented a CGI with Perl that is shown only when the pen drive is inserted. Now I need to show the directory tree because the user needs to say where to copy the selected files.
Anyone can assist me with the directory browser control, now I am thinking in display a new CGI page that acts as a browser.
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The Wx is a module to give you a graphical interface - it does not work within CGI.