cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
tsl
tsl
Level III

Can JMP read .gz archives ?

JMP can read .zip archives, for example 

MyArchive = Open("MyArchive.zip", zip);
MyFiles = MyArchive << dir;

However ,if the file is not a .zip archive, but a .gz archive, it doesn't seem to work.

The << dir command returns an empty list.

1 ACCEPTED SOLUTION

Accepted Solutions
tsl
tsl
Level III

Re: Can JMP read .gz archives ?

I solved my own problem. This works for me :

MyArchive = LoadTextFile("MyFile.gz", BLOB);
MyArchiveContents = GZIPUnCompress(MyArchive);
MyDataFile  = Open(MyArchiveContents,text);

 

 

View solution in original post

1 REPLY 1
tsl
tsl
Level III

Re: Can JMP read .gz archives ?

I solved my own problem. This works for me :

MyArchive = LoadTextFile("MyFile.gz", BLOB);
MyArchiveContents = GZIPUnCompress(MyArchive);
MyDataFile  = Open(MyArchiveContents,text);