Service Virtualization

  • 1.  How to Unzip a file on UNIX server and accecss few files

    Posted Mar 28, 2017 10:32 PM

    Hi,

     

    I want to perform following actions kindly let me know whether it is possible?

     

    1. Access a Zip file on UNIX server
    2. Unzip File and access text file from it
    3. Read data from text File, data will be in key value pair, e.g. Key1=Value1
    4. Store the value in property


  • 2.  Re: How to Unzip a file on UNIX server and accecss few files

    Posted Mar 29, 2017 12:35 PM


  • 3.  Re: How to Unzip a file on UNIX server and accecss few files

    Broadcom Employee
    Posted Mar 30, 2017 10:41 AM

    @narasimharao.x.lingam What operating system is your Devtest workstation & Simulator running on?

    If both these are running on windows - you can use plink.exe (a utility available fromhttp://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) to create a shell script which can be executed remotely & the results available to you in DevTest.

     

    For Devtest running on Unix/Linux you should be able to use the ssh utility (refer to man page for more details)

    ssh [USER-NAME]@[REMOTE-HOST] [command or script]

     

    I assume you have access to the Unix server via ssh.