AutoIt
AutoIt
Reassemble a Previously Split File
Demonstrates how to reassemble a previously split file.Chilkat AutoIt Downloads
Local $bSuccess = False
$oFac = ObjCreate("Chilkat.FileAccess")
; Any type of file may be reassembled. It doesn't matter if it's
; a binary file or a text file.
Local $sReassembledFilename = "hamlet2.xml"
Local $sPartPrefix = "hamlet"
Local $sPartExtension = "spl"
Local $srcDirPath = "."
; Reassembles the original file from hamlet1.spl, hamlet2.spl, ...
$bSuccess = $oFac.ReassembleFile($srcDirPath,$sPartPrefix,$sPartExtension,$sReassembledFilename)
If ($bSuccess = True) Then
ConsoleWrite("Success." & @CRLF)
Else
ConsoleWrite($oFac.LastErrorText & @CRLF)
EndIf