Let's assume you're using Firefox to surf some site , and you find something you would like to download , so you press
download and you get that dialog that asks you where would you like to save the file .
I would like to know how could you automate that part from within a script (using LWP or Mechanize)?