Great! It works very well. Thanks a lot.
----- Original Message -----
From: "Yutaka Sato" <firstname.lastname@example.org>
Sent: Tuesday, December 03, 2002 1:17 AM
Subject: Re: [DeleGate-En] how to get the server/client info in the ftp-data
> On 12/02/02(19:55) you "Wu Jiafu" <email@example.com> wrote
> in <_A2009@delegate-en.ML_>
> |Thanks a lot for your kindly help. But after applying the patch, it does
> |work so well:
> |I added one line to the patched ftp.c, then it seems work:
> |Since I am not quite understanding the structure of delegate, there
> |lots of side-effects of this changing. Would you please have a look?
> Thanks for your notice. I tried to minimize the patch before sending
> it out, to do over minimization and sent it out without testing X-)
> I remember that the patch for ftp.c:FTP_data_relay() was "if ... else"
> statement originally. So I'll do like this in the official release.
> xc = 0;
> Verbose("FTP data-relay(%d,%d): bufsize=%d\n",src,dst,size);
> + strcpy(dataConn->dd_selector,D_SELECTOR);
> + if( FS->fs_host )
> + wordScan(FS->fs_host,dataConn->sv.p_host); /* set REAL_HOST */
> + else
> if( REAL_HOST == 0 )
> strcpy(dataConn->sv.p_host,"-"); /* for DST_PROTO */
> else strcpy(dataConn->sv.p_host,REAL_HOST);
> @ @ Yutaka Sato <firstname.lastname@example.org> http://www.delegate.org/y.sato/
> ( - ) National Institute of Advanced Industrial Science and Technology
> _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
> Do the more with the less -- B. Fuller