cURL / Mailing Lists / curl-users / Single Mail

curl-users

Newbie needs help with basic CURL to download file from https site

From: David Bracknell <david.bracknell_at_avmltd.com>
Date: Fri, 11 Feb 2005 15:35:58 -0500

Hi,
 
I am an Excel and Excel vb specialist and need to download a csv file from this website. I have used CURL to download from other HTTPS sites where the info is always in a designated area - and it works.
 
To get to the below data, you must log in, and then wait until another window pops up with the data. This is the line I have been playing with but cannot make it work.
 
Anyone see what my problem is? Sorry I can't suppy password and logon but you can try the link to see what it does.
 
Thanks in advance.
 
curl -v -u password=mylogon:mypassword -o testdownload.txt <https://gm-secure.db.com/cocoon/iboxx/usd3.csv?mainindex=IBOXX_CDS_USD_S3&index=IBOXX_CDS_USD_S3> https://gm-secure.db.com/cocoon/iboxx/usd3.csv?mainindex=IBOXX_CDS_USD_S3&index=IBOXX_CDS_USD_S3
 
Is there a place with simple sample code that newbies and non-programmers can go to get ideas/fix their problems?
 
dave
Received on 2005-02-11