Released on: 12/13/2004 | updated on: 12/13/2004
Ianier Munoz
This document assumes that you are familiar with C # And Windows Forms.
Download the code in this article:Zipcompression.exe(150kb)
Summary
When you store files or send files over the
Data | Compression This article assumes that you are familiar with C # and Windows forms
Download the code for this article: ZipCompression.exe (150KB)
Summary
Using ZIP compression can save space and network bandwidth when storing files or
Compression (zip), compression zip
By default, these compression tools will delete the source files (except zip files) after compression. By default, only files are compressed, but directories are not compressed (LinkPackage).
Copy CodeThe code is as follows:
Class zip
{
var $datasec, $ctrl _dir = Array ();
var $eof _ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
var $old _offset = 0; var $dirs = Array (".");
function get_list ($zip _name)
{
$zip = @fopen ($zip _name, '
The compressed files in linuxlinuxinclude .tar.gz,.zip,.gz. in linux, you must renew the days when .rar is absent. The following example shows how to package the full file name generated after tar-zcvf/home/files.tar.gz/filestar-zcvf is packed:
Command Line2 zip and unzip, line2unzipCommand Line-ZIP 1. know zip
You can use man zip to obtain the man page of the zip command. The zip command can be used to compress the package file. The compressed file ends with. zip.
man zip
2. Zip
Atitit. Implementing best practices for extracting Zip files Java C #. NET PHP
1. JDK zip with Apache ant zip 1
2. Apache ant package for zip file compression, upzip approximate process. 1
3. Read the file name OK, but cant read to input
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.