On Thu, 12 Dec 2002 09:21:37 +0100, [EMAIL PROTECTED] (Anette Seiler) wrote:
>I want to do something where I am not sure it can be done with perl... > >Basically a user should klick on a button on a website. Then the script >should create a file with certain information from a database on the >webserver (that's easy) and that file should automatically be downloaded >into a certain directory on the user's computer (that is the difficult >part). The user is not computer illaterate, but he should not bother about >downloading and choosing certain directories (as he will have to download >hundreds of these files) and definitely not about ftp or something like that. > >Well, as I said, it is the downloading part that I don't know how to do. >Can it be done with perl or should I look at something else - maybe javascript? I don't think it can be done automatically like you want, from a web browser. It would cause too many security problems. In a web browser, the user must be asked to save anything to disk, once for each file. If you need automation of this kind, you should look into using a LWP script to automatically get the files, and keep the browser out of it. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]