[DeleGate-En] Re: delgate 9.7.7 ftp to sftp proxy and file size
2009/2/2 Yutaka Sato <email@example.com>:
> In message <_A4363@delegate-en.ML_> on 02/01/09(17:35:37)
> you James <firstname.lastname@example.org> wrote:
> |> "int" means the signed integer of 32bits with the max value 2GB-1.
> |> The limitation will be able to be enlarged by replacing "int"
> |> with "FileSize" as this:
> |> static FileSize DATA_MAX = 16*1024*1024*1024
> |> or you can bypass the limitation just by setting the value to zero.
> |> static int DATA_MAX = 0;
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