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

[DeleGate-En] Re: FTP to SFTP file size problem
18 Sep 2008 07:45:45 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4142@delegate-en.ML_> on 09/17/08(22:39:03)
you "Pierre Lessard" <pfyiabdyi-jfjnzgo7qznr.ml@ml.delegate.org> wrote:
 |We are using Delegate v9.7.7 and experiencing ftp transferts drop when the
 |file size is reaching over 10 mb. Is there are parameter to specify that
 |size anywhere or is this a bug?
 |
 |We are using Delagate as a SFTP gateway from FTP, like that:
 |
 |./delegated -P2121 -r SERVER=ftp MOUNT="/* sftp://sftphost.com/*"

It is hard coded in src/sftp.c:

  > static int DATA_MAX = 10*1024*1024;

The only way to escape the restriction is change the value and
recompile DeleGate.

Note that the implementation of sftp/FTP gateway by DeleGate is
very tentative one using the sftp program as a entrance to the
sftp/SSH channel.  Since sftp is not designed to be used as a
filter program, it needs a file to be transferred to exist as a
regular file temporarily on the host machine.  Thus there should
be some restriction for the size of such temporary file.

Cheers,
Yutaka
--
  9 9   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