Yutaka Sato wrote:
> On 06/07/02(14:32) you "michel.guilhem" <email@example.com> wrote
> in <_A1672@delegate-en.ML_>
> |How to be sure that a file on the delegate cache is fresh like the same
> |file on a server ?
> will do. With this, on each request from client, DeleGate always
> (0 seconds after the data is cached) asks the server if the cached
> data is fresh or no (using If-Modified-Since header).
I'm a newbie , my question is basic but i'm blocked by this .
Please help me , i have to defend Delegate's solution in my organisation
and the first step is to responds to this demand (with a ftp - or http -
cache tree structure , how to be sure that the files modifications are
propagating immediately and only this , the others files , not modified
, reached on the proxy ) .
I use a delegate 7.9.5 and with this option , the proxy delegate used in
give with this command (launched on a lan machine ):
/delegate7.9.5/src/delegated -v -P21 SERVER="ftp://www.annuwave
.net/" EXPIRE=0 ADMIN="firstname.lastname@example.org"
06/09 10:18:28.91  1+0/21: PASV [10,75,1,32,6,18] >> 227
Entering Passive Mode (10,75,1,32,6,18) DeleGate[B].^M
06/09 10:18:28.91  1+0/22: [0.00,526][FTP/HTTP cache-EXPIRED: 544
> 0] /home/delegate/cache/ftp/www.annuwave.net/pub/.-_-./LIST:-l:
06/09 10:18:28.91  1+0/22: FTP-CACHE: LIST  =
06/09 10:18:29.15  1+0/22: CACHE: created
06/09 10:18:29.15  1+0/22: FTP-CACHE: LIST  =
06/09 10:18:29.23  1+0/22: FTP data-relay(10000b ->
10000b) 531b / 1/ 0.08s (read-EOF)
06/09 10:18:29.29  1+0/22: CACHE: got = 
06/09 10:18:29.29  1+0/22: FTP-CACHE: written=1 531 bytes
This seems indicate that when i have EXPIRE=0 on my command , the
delegate go automatically on the server even if the file is not modified
( because the parameter controlled is the validity of the cache , with 0
i can't use the cache because it is considered always like expired ).
My purpose is the following
I have a server ftp on internet , reachable by RTC .
My delegate is running on an intranet , who share the rtc line .
I'm interested to have a proxy for ftp ( ftp command line ) .
Because of course the lan is faster than rtc .
But if a file is modified on the server , what is the command to
propagate this modification on the proxy ( and only this modification )
Thanks you very much for any clue , my first questions wasn't very clear .
Guilhem michel DGCP