Article delegate-en/2060 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A2057@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: ftp troubles
04 Jan 2003 05:51:35 GMT feedback@delegate.org (Yutaka Sato)


Hi,

In message <_A2057@delegate-en.ML_> on 01/04/03(02:35:01)
you Jan Du Caju <pbeeabdyi-ok6ijbmtffvr.ml@ml.delegate.org> wrote:
 |The trouble I am experiencing is that when an ftp session starts in 
 |active mode
 |and then changes to passive a timeout occurs

Thank you for your report.  I reproduced the problem and fixed it
as the enclosed patch, which is to be applied to the next release.

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller


*** ../../dgs/delegate8.3.2/src/ftp.c	Wed Dec 18 10:18:59 2002
--- ftp.c	Sat Jan  4 14:40:32 2003
***************
*** 3446,3452 ****
--- 3446,3455 ----
  		if( PASVforPORT ){
  			psock = makeDataConn(Conn,dport,ClientSock,0);
  			Verbose("PASVforPORT: [%d][%d]\n",psvsock,psock);
+ 			/*
  			PASVforPORT = 0;
+ 			*/
+ 			FS->fs_PASVforPORT = 0;
  		}else{
  			Verbose("Start accept on PASV port\n");
  			psock = ACCEPTdc(pclsock,1);

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V