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

[DeleGate-En] Re: Can ftp "mirroring" be done with Delegate?
09 Jul 2005 09:59:10 GMT (Yutaka Sato)
The DeleGate Project

On 07/09/05(05:24) you "Mike Vidal" <MVidal@sonicfoundry..> wrote
in <_A3005@delegate-en.ML_>
 |> But note that even when data is cached and served by the DeleGate,
 |DeleGate makes a control connection to the origin server of the data.
 |Is this for authentication purposes only?

No.  It is because caching-proxy-FTP-DeleGate does not support the
full-set of commands and status of the FTP protocol, so it forwards
unknown or not cared commands to the origin server.

For example, DeleGate does not create a control connection to the
server if a file in it "ftp://server/dir/file" is cached and retrieved
with a stateless command like this:

  RETR /dir/file

But it makes a control connection to server if the command is a
sequence of CWD and RETR like this.

  CWD /dir
  RETR file

I think it is not difficult to modify FTP-DeleGate not to forward CWD
to the server (on a created control connection on demand) if the directry
is cached, but it might not be so easy to make any (statefull) commands
and responses be cared and cached consistently.

  D G   Yutaka 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

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