CreatePack issue
Posted: Sat Sep 14, 2024 6:57 pm
Has anyone run into a CreatePack issue, where the packed file ends up corrupt?
I am using the following process to pack a 100 MB QuickBooks file, and rename it to a NAS.
Both 7zip and WinRAR return the following: Errors: is not archive.
Just wondering if anyone has experienced this?
Note: For clarity sake, I used actual file name instead of the variable names. My process uses variable names.
I am using the following process to pack a 100 MB QuickBooks file, and rename it to a NAS.
Code: Select all
packNumber = CreatePack(#PB_Any, "..\qb_backups\keeneStore.7z", #PB_PackerPlugin_Lzma, 7)
If packNumber
result = AddPackFile(packNumber, "..\qb\keeneStore.qbw", "keeneStore.qbw")
ClosePack(packNumber)
Else
ProcedureReturn 0
EndIf
Just wondering if anyone has experienced this?
Note: For clarity sake, I used actual file name instead of the variable names. My process uses variable names.