Zip the files in FTP adapter RRS feed

  • Question

  • Hi All,

    We have an requirement where we need to pick txt file from location A  and send it to FTP server in zip formate.

    Here no validations and no mapping Biztalk will place the files to FTP drive in Zip formate.

    Is there any commands to zip the file after placed in FTP location?

    If yes can you please let me know what is command I need to use for Zip?


    Wednesday, February 3, 2016 8:03 PM


  • Hi Ram,

    Thank you for posting on MSDN forum.

    If you want to process through BizTalk then only option to create custom pipeline to zip the file and process. But, If you want something different then you can use combination of PowerShell and Windows Task Scheduler.

    Using PowerShell script you can zip the file and process it to destination FTP server. Please have a look into below article that might be helpful to understand the logic,

    Zipping a single file with PowerShell


    If my reply is helpful please mark as Answer or vote as Helpful.

    My blog | Twitter | LinkedIn

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    • Marked as answer by BizTalk1234 Wednesday, February 3, 2016 8:23 PM
    Wednesday, February 3, 2016 8:21 PM

All replies