Layer7 API Management

  • 1.  FTP of large files

    Posted Jul 19, 2016 03:19 AM

    Hi Folks,

                 We are attempting to build a Rest to sFTP interface in CA API Gateway. We have created a policy to accept multi-part requests. The file sizes may go up to 1 GB. We tried testing the service with files of different sizes. We were successful only for 400MB files. Files much larger return good response, but when we check the file in FTP server, the file is created but empty. The file size is zero bytes. The Gateway logs show no error.

     

    We are thinking if some kind of timeout is happening before the file is completely transferred, But again gateway is not throwing any error.

     

    Thanks,

    Abhishek



  • 2.  Re: FTP of large files

    Broadcom Employee
    Posted Sep 01, 2016 12:52 PM

    Abhishek,

     

    Good afternoon. If you were able to share a few bits of data we can see waht can be done to reproduce the behavior.

    1) Version of the Gateway

    2) Attach a sample policy and request

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support



  • 3.  Re: FTP of large files
    Best Answer

    Posted Sep 07, 2016 07:32 AM

    Hi Steve,

                    We were able to fix the issue. There is a property Override maximum message size in  Manage Listen Ports. This was set to 500 MB. Hence it was failing. We increased it to 2 GB and it worked.

     

    Thanks,

    Abhishek.