#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    How to update zip file without unzip using perl?


    I have file at my local machine at "C:\temp\readme.txt".
    I have zip file "test.zip" inside which there is folder structure "/com/test/".
    How to add the file at local machine ("C:\temp\readme.txt") into zip file at folder "/com/test/" using perl?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Apr 2009
    Posts
    1,930
    Rep Power
    1225
    Take a look at the Archive::Zip module. It has an addfile() method.

IMN logo majestic logo threadwatch logo seochat tools logo