Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Ask: Creating compressed file

zip compressed

Best Answer Luthfi, 29 May 2013 - 06:26 AM

Since you specifically asked for .zip file, the fastest way would be to use existing library. I had used a library named ZipForge before, and quite satisfied. But it is commercial one, although they permit to use it for personal projects. For free one, you might want to check JEDI JCL library. It has a library that is a wrapper around 7 zip. Therefore you can use it to compress to .zip and to .7z.

Go to the full post


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 frans3q

frans3q

    CC Newcomer

  • Member
  • PipPip
  • 12 posts

Posted 29 May 2013 - 05:36 AM

I want to make a simple program for compressing few files into zip. How can I do that with Delphi 7?

The input are :

1. multiple file in the same directory

2. output filename in .zip


Edited by frans3q, 29 May 2013 - 05:37 AM.


#2 Luthfi

Luthfi

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1320 posts

Posted 29 May 2013 - 06:26 AM   Best Answer

Since you specifically asked for .zip file, the fastest way would be to use existing library. I had used a library named ZipForge before, and quite satisfied. But it is commercial one, although they permit to use it for personal projects. For free one, you might want to check JEDI JCL library. It has a library that is a wrapper around 7 zip. Therefore you can use it to compress to .zip and to .7z.



#3 zeeshanaayan07

zeeshanaayan07

    CC Lurker

  • New Member
  • Pip
  • 8 posts

Posted 29 May 2013 - 10:55 AM

Use Winrar to compressed file



#4 lespauled

lespauled

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1360 posts

Posted 29 May 2013 - 11:06 AM

Get a free component here with source code.

 

http://www.angusj.com/delphi/


My Blog: http://forum.codecal...699-blog-77241/
"Women and Music: I'm always amazed by other people's choices." - David Lee Roth

#5 frans3q

frans3q

    CC Newcomer

  • Member
  • PipPip
  • 12 posts

Posted 29 May 2013 - 11:20 AM

Use Winrar to compressed file

problem is, I want to integrate it to my program and to windows task schedulers.






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download