Compressing large files before sending

Home Page Forums BizTalk 2004 – BizTalk 2010 Compressing large files before sending

Viewing 3 reply threads
  • Author
    Posts
    • #17109

      I want to use BizTalk to zip an incoming file (unstructured text file) and then send it via FTP to another system.  This is a large file (+5Mb) there is a requirement to zip the file before sending it to the other system.

       

      My first thought was to use a zip component in a send pipeline.  But being new to BizTalk I am not sure if this is the best way, i.e., wouldn’t BizTalk be slow to process a large file like this?

    • #17111

      It will certainly be slower to process than a smaller file and will take up more resources. How much will depend a lot on what you expect to do with it, though. If you don't really care about the file contents, then just do it the other way around: compress it during receive with a custom component in a receive pipeline; this will be far more efficient and will help conserve a lot of biztalk resources for the remainder of processing.

    • #17120

      Anonymous,

      I have certainly seen applications that zipped in the send pipeline, so technically it should be no problem.

      As to size, I wouldn't worry. First, you're not processing it – it's just a blob. Second, BTS 2006 handles bigger files more comfortably than prvious versions.

      As to timing – why worry – you're going out to FTP and inherently async protocol.

      John D.

    • #17169

      I need to do something similar and was going to just use a .NET compnent when someone pointed me to "Pro BizTalk 2006", Chapter 5 (ISBN: 1-59059-699-4).

      I need to take more than 100 files in a batch and compress and send them individually via http://ftp.  Since I can file drop them locally, I can setup a receive pipleline to take care of this after the batch completes or at anytime we need.  Don't forget file naming standards as well.

       

Viewing 3 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.