This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
ncsa-mosaic/libwww2/HTFTP.h

60 lines
1.0 KiB
C

/* FTP access module for libwww
FTP ACCESS FUNCTIONS
This isn't really a valid protocol module -- it is lumped together
with HTFile . That could be changed easily.
Author: Tim Berners-Lee. Public Domain. Please mail changes to
timbl@info.cern.ch
*/
#ifndef HTFTP_H
#define HTFTP_H
#include "HTUtils.h"
#include "HTAnchor.h"
#include "HTStream.h"
#include "HTAlert.h"
/*
Retrieve File from Server
ON EXIT,
returns Socket number for file if good.<0 if bad.
*/
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 */