zipping to .gz

  • hi

    i am using execute sql task to zip my files to .gz extension.

    but getting error :

    executable : C:\program files\7z.exe
    arguments : a "C:\Documents\Backup\filename.gz"  "C:\Documents\Data\filename

    I want to zip all files from data folder to back up,with .gz extension , how to do it

  • coool_sweet - Wednesday, June 7, 2017 1:55 PM

    hi

    i am using execute sql task to zip my files to .gz extension.

    but getting error :

    executable : C:\program files\7z.exe
    arguments : a "C:\Documents\Backup\filename.gz"  "C:\Documents\Data\filename

    I want to zip all files from data folder to back up,with .gz extension , how to do it

    I would have thought that you'd need to use the execute process task for this.
    Can you make the command line work outside of SSIS?

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • sorry I m using execute process task but how can I get .gz extension here

  • coool_sweet - Wednesday, June 7, 2017 2:22 PM

    sorry I m using execute process task but how can I get .gz extension here

    I'll repeat my question. Can you make it work using a command line?

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • Heh... I hate people that send me .gz files and .rar files and all the rest.  Just send me a good ol' fashion .zip file that works fine just about everywhere.

    Also, I'm with Phil... make it work from the command line first.  If you can't do that, then read the instructions for 7Zip and come back when you have it working from the command line.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply