From 8eb5a4b856057e4188869e2064974d2ddae06555 Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Tue, 17 Jul 2001 05:53:03 +0000 Subject: @Added support for socket and popen file types to ftp_fput (Jason) --- ext/ftp/ftp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/ftp/ftp.h') diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index b2c7709812..0d87b52428 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -130,11 +130,11 @@ int ftp_pasv(ftpbuf_t *ftp, int pasv); int ftp_get(ftpbuf_t *ftp, FILE *outfp, const char *path, ftptype_t type); -/* stores the data from infp as a file on the remote server +/* stores the data from a file, socket, or process as a file on the remote server * returns true on success, false on error */ int ftp_put(ftpbuf_t *ftp, const char *path, FILE *infp, - ftptype_t type); + int insocket, int issock, ftptype_t type); /* returns the size of the given file, or -1 on error */ int ftp_size(ftpbuf_t *ftp, const char *path); -- cgit v1.2.1