cURL / Mailing Lists / curl-users / Single Mail

curl-users

Download files from HTTP

From: Qi Xiang Chi <qi_xiang_chi_at_hotmail.com>
Date: Thu, 30 Oct 2008 15:30:05 +0100

In internet explorer I can download the files by:
1. Logon to the site:http://edw.morningstar.com/login.aspx?email=scott.tiger@company.com&password=PASSWD
2. Download the file:http://edw.morningstar.com/download.aspx?action=ExtendedMasterlist
 
I was asked to automate download process by using CURL, but I can't get the login right. I tried the following:curl -u scott.tiger@company.com:PASSWD -x webproxy:8080 http://edw.morningstar.com/login.aspxcurl -form-string scott.tiger@company.com;PASSWD -x webproxy:8080 http://edw.morningstar.com/login.aspxcurl --form-string email=scott.tiger@company.com;password=PASSWD -x webproxy:8080 http://edw.morningstar.com/login.aspxcurl -F email=scott.tiger@company.com;password=PASSWD -x webproxy:8080 http://edw.morningstar.com/login.aspx
 
How can I logon to the site?
Any help is welcome. Thanks.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-30