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

[DeleGate-En] Re: Can ftp "mirroring" be done with Delegate?
09 Jul 2005 09:59:10 GMT feedback@delegate.org (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.

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://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

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