syncfile(hs,p)

Read(4541) Label: path, synchronize, node sequence,

Description:

Synchronize a local path onto a sequence of nodes.

Syntax:

syncfile(hs,p)

Note:

The function synchronizes local path p onto a node sequence of hs, during which the old files are replaced.

 

When there are composite tables and indexes under the path, the function compares the local files and those on the nodes to copy only the necessary parts.

Parameter:

hs

A node sequence

p

A local path

Return value:

Boolean

Example:

 

A

 

1

=syncfile(["192.168.31.165:8281","192.168.31.39:8281"],"D:/f1")

Sync the local path D:/f1 onto the node sequence ["192.168.31.165:8281","192.168.31.39:8281"].