I want to write a script which can do the following job, i have looked with Google but could not find any.
The script should click a link and get the file to download on the server on which the script is running to a folder.
The link to the download is not a direct link such as website.com/file.zip rather it is a dynamic code which once clicked opens the dialog box for download. I want to save that file to the server.
There is one other option, we can also put it on the clients machine and then fetch it from there but i also do not know how this can be done.
I hope some one gives a detailed answer.