Bug? TAR /Gzip Folder.. Archiver lib Bug ? Zip works

alienhunter

Active Member
Licensed User
Longtime User
Hi to all ,

i was using the "arc.TarGzFolder" option but it comes up with a error ?
the tar/gzip works with single files but not with folder option
the only option is the zipfolder that is working

did anyone noticed this ?

thanks AH



B4X:
Sub Process_Globals
  Private fx As JFX
  Private MainForm As Form
  Private arc As Archiver
End Sub
Sub AppStart (Form1 As Form, Args() As String)
  MainForm = Form1
  'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
  MainForm.Show
  Try
  arc.TarGzFolder("C:\setupsheet\temp\pics","C:\temp","pics.gz")
  Catch
  Log(LastException.message)
  End Try

End Sub
 

Attachments

  • tar.jpg
    tar.jpg
    195.5 KB · Views: 391
  • zip.jpg
    zip.jpg
    11.2 KB · Views: 374

billzhan

Active Member
Licensed User
Longtime User
Similar things find here. TarGzFolder and TarFiles don't work. ZipFiles,UnZip and ZipFolder work fine.

It's a B4A lib, may be only the zip format is compatible with B4J.

B
 
Top