[DeleGate-En] Re: FTP to SFTP file size problem
In message <_A4142@delegate-en.ML_> on 09/17/08(22:39:03)
you "Pierre Lessard" <email@example.com> 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
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.
9 9 Yutaka Sato <firstname.lastname@example.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