Home / comp / gb.compress / compress / file 
Compress.File (gb.compress)
Syntax
SUB File ( Source AS String, Target AS String [ , Level AS Integer ] )
Once you have selected the compression driver, you can compress a file and place the result in another file using this method.

Example
...
Dim Cp As New Compress

Cp.Type = "zlib"
Cp.File("/home/foo/README.TXT" , "/home/foo/README.TXT.gz" , Cp.Max)
...