Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
|
Reassemble a Previously Split FileDemonstrates how to reassemble a previously split file.
LOCAL loFac LOCAL lnSuccess LOCAL lcReassembledFilename LOCAL lcPartPrefix LOCAL lcPartExtension LOCAL lcSrcDirPath loFac = CreateObject('Chilkat.FileAccess') * Any type of file may be reassembled. It doesn't matter if it's * a binary file or a text file. lcReassembledFilename = "hamlet2.xml" lcPartPrefix = "hamlet" lcPartExtension = "spl" lcSrcDirPath = "." * Reassembles the original file from hamlet1.spl, hamlet2.spl, ... lnSuccess = loFac.ReassembleFile(lcSrcDirPath,lcPartPrefix,lcPartExtension,lcReassembledFilename) IF (lnSuccess = 1) THEN ? "Success." ELSE ? loFac.LastErrorText ENDIF |
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.
Mail Component · .NET Email Component · ASP Mail Component · XML Parser