ncsa-mosaic/libwww2/HTFTP.h

60 lines
989 B
C
Raw Permalink Normal View History

2010-03-08 04:55:21 -06:00
/* FTP access module for libwww
FTP ACCESS FUNCTIONS
2010-03-08 04:55:21 -06:00
This isn't really a valid protocol module -- it is lumped together
with HTFile . That could be changed easily.
2010-03-08 04:55:21 -06:00
Author: Tim Berners-Lee. Public Domain. Please mail changes to
timbl@info.cern.ch
2010-03-08 04:55:21 -06:00
*/
#ifndef HTFTP_H
#define HTFTP_H
#include "HTUtils.h"
#include "HTAnchor.h"
#include "HTStream.h"
#include "HTAlert.h"
/*
Retrieve File from Server
ON EXIT,
2010-03-08 04:55:21 -06:00
returns Socket number for file if good.<0 if bad.
2010-03-08 04:55:21 -06:00
*/
extern int HTFTPLoad PARAMS
((
char * name,
HTParentAnchor * anchor,
HTFormat format_out,
HTStream* sink
));
/*
Return Host Name
*/
extern WWW_CONST char * HTHostName NOPARAMS;
/*
* NLST parameters -- SWP
*/
#define NLST_PARAMS "-Lla"
/* Send file to server */
extern int HTFTPSend PARAMS (( char * name ));
#endif
/*
end */