🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #416

What Indy10 C++ ide objects does one use to download a file

#416
From: 401kPensionGuru
Date: Fri, 01 Feb 2008 01:15
16 lines
1744 bytes
I'm in need of yahoo .csv file that has historic prices of stocks....I'm 
bewildered by the array of Indy Objects and their parts....
can anyone get me started...I know how to use indy to send/receive mail 
...but this seems far removed from that issue...
Thanks in advance...here is some \nSoftware code I've been using...but I 
need to do this in Indy...

    HTTPS1->LocalFile = file2Write; 
//tDiskfile->Text;
    urlAddress.sprintf("http://ichart.finance.yahoo.com/table.csv?s=%s&d=%i&e=%i&f=%amp;g=d&a=%i&b=%i&c=%i&ignore=.csv 
",
      m_ticker->Text,
         end.MM(), end.DD(), end.YYYY(),
         start.MM(), start.DD(),start.YYYY()); //tURL->Text);
 SetCursorWait();
    HTTPS1->Get(urlAddress); //this downloads the file 
Technical Details
Message-ID: <47a272c5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,10fb6e668abaf1bd,start
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "401kPensionGuru" <charlesleggette@earthlink.net>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: What Indy10 C++ ide objects does one use to download a file
Date: Thu, 31 Jan 2008 19:15:49 -0600
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.60.79.20
Message-ID: <47a272c5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201828549 66.60.79.20 (31 Jan 2008 17:15:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail