I want to create a tool to download files from the website in the following order :
- Users enter 'username ' and ' password '
- Cookies are stored
- Keep Session Cookies
- Download the file
Until now, to perform the above tasks , I use ' wget ' with the script :
wget --user-agent="Mozilla/5.0 (Windows NT 5.2; rv:2.0.1) Gecko/20100101 Firefox/4.0.1" --post-data="username=%id%&password=%password%&sublogin=Login" --save-cookies="cookies\cookies.txt" --keep-session-cookies http://%app%/login/login/loging_simpel
how do I do that with Delphi?