On Sat, Feb 23, 2002 at 09:23:53PM +0100, Max Hofer wrote:
> checking my output again i saw that the PASV and PORT command was always
> used only on server 1 (means PASV on server 1 and PORT on server 2). lftp
> never tried to set the connection up in the other way (PASV on server 2 and
> port on server 1). it seems the passive destination-setup-method uses the
> wrong setting. (it is hard to tell which command was sent on which server).
Here is a patch.
--- ftpclass.cc 2002/01/30 14:52:54
+++ ftpclass.cc 2002/02/24 08:43:10
@@ -397,3 +397,3 @@ void Ftp::TransferCheck(int act)
}
- if(copy_mode!=COPY_NONE && act==425 && strstr(line,"port theft"))
+ if(copy_mode!=COPY_NONE && act==425)
{
--
Alexander. | http://www.yars.free.net/~lav/