Using libwww's FTP facilities...

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 UTC