File:  [Public] / libwww / Library / src / HTFTP.html
Revision 2.6: download - view: text, annotated - select for diffs
Wed Jun 23 18:43:22 1993 UTC (30 years, 11 months ago) by timbl
Branches: MAIN
CVS tags: v2/14, v2/13, v2/12a, HEAD
Release 2.09

<HEADER>
<TITLE>FTP access module for libwww</TITLE>
<NEXTID N="1">
</HEADER>
<BODY>
<H1>FTP access functions</H1>This isn't really  a valid protocol
module -- it is lumped together with<A
NAME=z0 HREF="HTFile.html">
HTFile</A> . That could be changed easily.<P>
Author: Tim Berners-Lee. Public Domain.
Please mail changes to timbl@info.cern.ch
<PRE>#ifndef HTFTP_H
#define HTFTP_H

#include "HTUtils.h"
#include "HTAnchor.h"
#include "HTStream.h"

</PRE>
<H2>Retrieve File from Server</H2>
<H3>On exit,</H3>
<DL>
<DT>returns
<DD> Socket number for file if
good.&lt;0 if bad.
</DL>

<PRE>extern int HTFTPLoad PARAMS
((
  CONST char * 		name,
  HTParentAnchor * 	anchor,
  HTFormat		format_out,
  HTStream*		sink
));


</PRE>
<H2>Return Host Name</H2>
<PRE>extern CONST char * HTHostName NOPARAMS;

#endif

</PRE>end</A></BODY>

Webmaster