[DeleGate-En] Re: delgate 9.7.7 ftp to sftp proxy and file size
2009/1/31 Yutaka Sato <email@example.com>:
> In message <_A4361@delegate-en.ML_> on 01/30/09(13:44:34)
> you James <firstname.lastname@example.org> wrote:
> |I modified src/sftp.c as indicated in one of the posts
> |and changed DATA_MAX to
> |static int DATA_MAX = 1024*1024*1024
> |Am I able to configure DATA_MAX to be larger than 1gig ?
> "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;
> But I'm not sure if the current implementation of sftp/FTP gateway,
> using the sftp command as a filter process, is stable enough for
> such usage.
Many thanks for the assistance. My C is very rusty, I forgot about the
What are the main concerns around stability ? ie what should I watch out for ?