From a5e0f0331bae5c7ae2f66bda4fc264dcad4aea9d Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 10 Oct 1996 08:34:27 +0000 Subject: [PATCH] Send PASV instead of PASSIVE. Submitted-By: Archie Cobbs --- lib/libftpio/ftpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libftpio/ftpio.c b/lib/libftpio/ftpio.c index 71cae493b0da..578d5b7c2c11 100644 --- a/lib/libftpio/ftpio.c +++ b/lib/libftpio/ftpio.c @@ -14,7 +14,7 @@ * Turned inside out. Now returns xfers as new file ids, not as a special * `state' of FTP_t * - * $Id: ftpio.c,v 1.13 1996/08/31 22:02:18 jkh Exp $ + * $Id: ftpio.c,v 1.14 1996/09/19 17:28:26 peter Exp $ * */ @@ -291,7 +291,7 @@ ftpPassive(FILE *fp, int st) if (ftp->is_passive == st) return SUCCESS; - i = cmd(ftp, "PASSIVE"); + i = cmd(ftp, "PASV"); if (i < 0) return i; ftp->is_passive = !ftp->is_passive;