[Reference:<_A4366@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en
[DeleGate-En] Re: delgate 9.7.7 ftp to sftp proxy and file size
In message <_A4366@delegate-en.ML_> on 02/04/09(08:34:01)
you James <pbeiqbdyi-abl6bkqqmobo.ml@delegate.org> wrote:
|Yutaka I tried setting it to 0 but it still seems to max out at the 32
|bit signed integer
|(ie 2GB -1). Makes sense really as type is still signed int so that
|is all the memory that is allocated. I then tried changing the data
|type to FileSize and now it drops the connection at 65535 bytes which
|looks a buffer size.
|
|Do you know why it is crashing with type FileSize
If you are using DeleGate on Linux, you need a compile option
CFLAGS=-DSTAT64
as describe in <URL:http://www.delegate.org/delegate/over4GB/>
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
|