std.PackDirectory

This job packs the contents of the full-text directory into a CAB file and sends it to the recipient server. The recipient server unpacks the CAB file and adds all full-text index files to its full-text directory.

1. Input Parameters

Name Type Required Description

dwPort

INT

Yes

IP port of the recipient server

sComString

STRING

Yes

IP address of the recipient server in the format addr1#port1;addr2#port2;…
addr corresponds to the ComString column from the Server table.

sAction

STRING

Yes

Pack = pack contents of the full-text directory into a CAB file
Send = send CAB file
DeleteSource = delete contents of the full-text directory

sRoot

STRING

Yes

Directory from which subdirectories and files should be packed

dwCabSize

INT

Yes

Maximum size of the CAB file in KB

sCabDir

STRING

Yes

Directory where the CAB files should be saved

sAddress

STRING

Yes

String listing all servers in the target group (format like AS.ini file)

2. Return Value

(INT): 0 = Job successful, otherwise error code.