Focal Point
[CLOSED] how to unzip a file in ism 6.1.9

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/4227082766

February 13, 2014, 12:50 PM
ratnavel@aspire
[CLOSED] how to unzip a file in ism 6.1.9
Hi,

Is there an agent that can be used to unzip a file in middle of the pflow?

I think there is an option in File listener, But I need to unzip during the pflow.

Any help is appreciated.

Thanks,
Ratnavel.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6
Windows, All Outputs
February 14, 2014, 03:55 AM
Srii
What is being sought is not possible using standard functionalities. This can however be achieved by building a custom business agent. iWay generates skeleton structure to help programmers write their own agents. This structure can be modified with your own code that performs "unzip" operation and return the absolute path of the filenames extracted from the zip file.

-
Srii
May 23, 2014, 09:51 AM
ray_In_Vancouver
or you do it easily using the command Agent
the cmd would be 'unzip file.zip -d destination_folder'

or using 7z
cmd would be '7z e zipfile.zip'

that way you stay in the pflow


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server