CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    85

    compress more file whith gz..

    hi friends..
    how can i compress more that one file whith gz??.
    and after i download it, i need to delete this file..
    can i do whoith unlink??..
    but if i unlink before that i download it??..
    a solution??...
    thanks!.

  2. #2
    Join Date
    Jun 2005
    Posts
    1,255

    Smile Re: compress more file whith gz..

    gz?? with two question marks? Do you mean gzip?

    What is your environement? Windows, Unix, other?

    Let's suppose you are under Unix.
    Usually, files are compressed one at a time with gzip, and then they are grouped together with tar or with cpio.

  3. #3
    Join Date
    Sep 2007
    Posts
    85

    Re: compress more file whith gz..

    so, how can i do to compress whith tar the
    file gz??..
    such as i wont to create an archive in php, whith 2 file..

    codeguru.php
    readme.read

    how can i do to compress it in a tar.gz or only gz whith a php page??..
    thanks!!..

  4. #4
    Join Date
    Nov 2004
    Location
    Pakistan
    Posts
    466

    Re: compress more file whith gz..

    You can use a premade class to create tar, bz2, tar.gz, zip files very easily.

    http://lk.users.phpclasses.org/brows...ckage/945.html

    I hope it helps.

    regards
    » Please 'Rate This Post' if it helped (encourage us to help you more)
    » Build GUI in minute using rad c++
    » Free IDE + GUI code generator - screenshot
    » Free WINAPI sourcecode and tutorials

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured