Layer 7 API Management

Expand all | Collapse all

How to Download file and store it in a directory coming in a response through FTP Policy

Jump to Best Answer
  • 1.  How to Download file and store it in a directory coming in a response through FTP Policy

    Posted 03-24-2017 02:57 AM

    Hello sir,

     

    I have  made a policy that will download specific file from the server . In response i am getting unreadable codes and status is 200ok.
    so i want to know how to download and store a file to specific server .

    Please find the below response we are getting 



  • 2.  Re: How to Download file and store it in a directory coming in a response through FTP Policy

    Posted 03-24-2017 04:51 AM

    Hi irfan.mugale ,

     

    What assertion have you used to download the ftp file?

     

    Regards

    Seenu Mathew



  • 3.  Re: How to Download file and store it in a directory coming in a response through FTP Policy

    Posted 03-24-2017 04:58 AM

    Hi Seenu,

     

    I have used Route via SSH2 assertion.

     

    Please check the screenshot for your reference.

     

    Thanks & Regards,

    Irfan Mugale



  • 4.  Re: How to Download file and store it in a directory coming in a response through FTP Policy
    Best Answer

    Posted 03-26-2017 06:22 PM

    Hi Irfan,

    As you configured it as sftp, can you a sftp client to download it?

     

    Regards,

    Mark



  • 5.  Re: How to Download file and store it in a directory coming in a response through FTP Policy

    Posted 03-27-2017 01:13 AM

    Hi Mark,

     

    I was able to download the file in zip format. 

    I am hitting the service using the chrome browser. Sorry for the inconvenience caused.

     

    Thank you for your assistance.

     

     

    Thanks & Regards,

    Irfan Mugale