Table of Content
HAL Forum
procedure AddFileToArea (
string FilePath,area TargetArea,boolean Encode)
Description:
Loads a file from specified path and adds it to an area. This is a bitsafe function.
Parameters:
FilePath The name and path of the specified file
TargetArea The area variable that will be filled with data from the file.
Encode Determines if the loaded file will be b64 encoded. TRUE: yes / FALSE: no
Global Procedure PackageToServer(string filename,area chunk,longint chcount) begin
    area afile;
    AddFileToArea(filename,afile,false);
    InsertAreaBeforeArea(afile,chunk)
    LogAreaToFile(filename,chunk);
  return;
end;
Related topics:
««