Re: [Pharo-users] Working with zipped files

2014-12-10 Thread Markus Fritsche
On 2014-12-09 20:47, Hernán Morales Durand wrote: | zipArchive fileRef | zipArchive := ZipArchive new. fileRef := 'myFile.zip' asFileReference. [ zipArchive readFrom: fileRef fullName; extractAllTo: FileSystem workingDirectory ] ensure: [ zipArchive close ]. Thank you!

Re: [Pharo-users] Working with zipped files

2014-12-09 Thread Юрий Мироненко
Do you want to work with ZIP files, or specifically with MCZ ? 2014-12-09 15:03 GMT+03:00 Markus Fritsche mfrits...@reauktion.de: Hi, by peeking around in Deep into Pharo I thought that | zf fr | fr := 'I:\SAS_Projekte\project.egp' asFileReference. zf := FileSystem zip: fr. zf store

Re: [Pharo-users] Working with zipped files

2014-12-09 Thread Markus Fritsche
On 2014-12-09 18:19, Юрий Мироненко wrote: Do you want to work with ZIP files, or specifically with MCZ ? Just a zip file with a member called project.xml which I want to extract, change and rezip... Best regards, Markus

Re: [Pharo-users] Working with zipped files

2014-12-09 Thread Hernán Morales Durand
| zipArchive fileRef | zipArchive := ZipArchive new. fileRef := 'myFile.zip' asFileReference. [ zipArchive readFrom: fileRef fullName; extractAllTo: FileSystem workingDirectory ] ensure: [ zipArchive close ]. 2014-12-09 15:03 GMT-03:00 Markus Fritsche mfrits...@reauktion.de: On 2014-12-09

Re: [Pharo-users] Working with zipped files

2014-12-09 Thread Юрий Мироненко
General idea was to use ZipArchive instead of MCZ-related code. If above code fail to work for you, why not publish the file we are talking about? The it will be possible to test the code you are asking for. 2014-12-09 21:03 GMT+03:00 Markus Fritsche mfrits...@reauktion.de: On 2014-12-09