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

[DeleGate-En] Re: FTP relay + compression
06 Mar 2004 14:08:39 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project

In message <_A2555@delegate-en.ML_>
on 03/05/04(21:30:33) you <p7meqbdyi-mykgh477kstw.ml@delegate.org> wrote:
 |I have no experience with DeleGate but the following question: Is it possible to compress data when receiving it with the DeleGate relay fetched from a (internal) FTP server and then send the data to the requesting (outside) FTP client? The following picture might illustrate what is meant. In addition to that question: If it is possible - any suggestion how to set up the config and/or appropriate command line?

Simply applying compression for any data, including directory list
(response for LIST/NLST) as well as usual data (response for RETR),
is simply realized with:

  CMAP="gzip:FTOCL:ftp-data"

If you have FTP-DeleGate proxy at client side, the compressed data
will be decompressed with:

  CMAP="gunzip:FTOCL:ftp-data".

If you don't have DeleGate at client side, it depends on what feature
can be expected at client side.  For example, if a client supports
FTPS (FTP over SSL), it can be used because SSL includes compression
of transferred data.

 |          ....:''''''''''''''.....
 |      ..:''                       ''''':...
 |    .'                                    ''..
 |   .:   +--------------+                     ':
 |   :    |              |           +-------+   '.
 |   :    | FTP Srv 1    |           | Dele  |    :
 |   :    |              ''''''''''''' Gate  |     :   +------------+
 |   :    +--------------+           | FTP   |     :   |            |
 |   :                               | Relay ......:...|  FTP Client|
 |   :    +--------------+           |       |  |  :   |            |
 |   :    |              |           |       |  |  :   +------------+
 |   :    | FTP Srv 2    |............       |  | :
 |   :    |              |     |     +-------+  | :
 |   :    +--------------+     |                |.'
 |   :          .              |                |:
 |   '.         .              |               .|
 |    ':        .              |              .'|
 |     ''..                    |           ..:  |
 |        '..                  |         .:     |
 |          ''''':.............|......:'''      |
 |                             |                |
 |                             |           compressed
 |                             |           data
 |                          uncompressed
 |                          data

Cheers,
Yutaka
--
  D G   Yutaka Sato <pfqcabdyi-mykgh477kstw.ml@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