🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13052

Re: HTTP directory listing

#13052
From: Bob Gonder
Date: Fri, 31 Oct 2003 18:49
15 lines
1367 bytes
CS wrote:

>How can I get the directory listing from a HTTP server. I want to know which
>files that are in a specific directory and download all the available files
>there.


#include	<wininet.h>
hInternetSession = InternetOpen()
hFTPSession = InternetConnect()
ff = FtpFindFirstFile()
FtpGetFile()
InternetCloseHandle( ff );
InternetCloseHandle(hFTPSession);
InternetCloseHandle(hInternetSession);
Technical Details
Message-ID: <ccb5qvs5fofpqfgp9pul45cke4j8ue2hkh@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fa2a041@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,af8b744a5697d84d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-31 10:58:31 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: HTTP directory listing
Date: Fri, 31 Oct 2003 10:49:56 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <ccb5qvs5fofpqfgp9pul45cke4j8ue2hkh@4ax.com>
References: <3fa2a041@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.164.194
X-Trace: newsgroups.borland.com 1067626194 67.31.164.194 (31 Oct 2003 10:49:54 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail