W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Using libwww's FTP facilities...

From: Jared Davis <aiken@clan11.com>
Date: Mon, 3 Apr 2000 15:35:02 -0500
Message-ID: <000e01bf9dac$18657020$6401a8c0@unomaha.edu>
To: <www-lib@w3.org>
Hey all,

Been looking at libwww and I'm wondering something... How do you actually do
things with the FTP stuff?

The only other ftp library i've used is the FTP stuff that comes with MFC...
and if I was using it I could just go:

    session_ptr = new CInternetSession();
    connection_ptr = d_session_ptr->GetFtpConnection("192.168.1.1", "me",
"mypasword");
    connection_ptr->PutFile("my-file.txt");
    connection_ptr->GetFile("foo.dat");
    connection_ptr->SetCurrentDirectory("/home/me");

But I haven't been able to find anything that tells me how to do stuff like
this using libwww...?

As far as I can tell, I have to include HTFTP.h?  But I don't see any
functions like putfile getfile... unless i'm missing something?

Also, I'm wondering... seems like there's an awful lot of compile time
dependencies everywhere... headers including other headers without redundant
include guards, things of this nature... is anyone else concerned about
this?

Thanks,
    Jared
Received on Monday, 3 April 2000 16:31:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT