Rebol & Zip
[1/4] from: andrew::martin::colenso::school::nz at: 4-Aug-2003 15:25
How does one use Rebol to create a .zip file? I'd like to zip together a pile of files, then email them as an attachment. Like: save %File.zip compress read %File.txt send/attach [Rebol--orcon--net--nz] "My .zip files" %File.zip Andrew J Martin Attendance Officer & Information Systems Trouble Shooter Colenso High School Arnold Street, Napier. Tel: 64-6-8310180 ext 826 Fax: 64-6-8336759 http://colenso.net/scripts/Wiki.r?AJM http://www.colenso.school.nz/ DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally liable) for materials distributed to or acquired from user e-mail accounts. You can report any misuse of an e-mail account to our ICT Manager and the complaint will be investigated. (Misuse can come in many forms, but can be viewed as any material sent/received that indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate language and/or other issues described in our Acceptable Use Policy.) All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0 Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]
[2/4] from: SunandaDH:aol at: 4-Aug-2003 1:31
> How does one use Rebol to create a .zip file? I'd like to zip together a > pile of files, then email them as an attachment. Like
As far as I know, no one has written REBOL code to create a standard zip file. One method, if you have Command or Pro and you have a registered copy of Winzip, is to use REBOL to execute WZZIP, the command-line version of WinZip. If you don't have WZZIP, you'll need a freebie equivalent: http://dmoz.org/Computers/Software/Freeware/Data_Compression/ Or take an afternoon off, and write REBZIP.r! Sunanda.
[3/4] from: bry:itnisk at: 4-Aug-2003 9:47
>How does one use Rebol to create a .zip file? I'd like to zip together
>pile of files, then email them as an attachment. Like:
as Sunanda said I don't think anyone has done this, you would probably want to look at Zlib http://www.gzip.org/zlib/
[4/4] from: robert:muench:robertmuench at: 4-Aug-2003 10:26
> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 4>>> One method, if you have Command or Pro and you have a > registered copy of Winzip, is to use REBOL to execute WZZIP, the
> version of WinZip.
Even better in this case, use the DLL interface and have a look at the Zlib (http://www.winimage.com/zLibDll/) this one is used in the PNG libs as well. Robert
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted