split file()

This function can be used to split a file a into split files of size b.

The paths to the split files are stored in list c.

The return value of the function is the path to the folder containing the split files.

Parameter d decides whether the split files are deleted after phase 3 or not.

Parameters


Parameter

Description

a

(optional) Path to the file to be split. If the parameter is left empty, the path to the backup file of the profile job is used. Example: "./webapps/root/upload/test.txt".

b

Size of the split files in bytes.

c

Name of the list into which the paths of the individual split files are written. The list is emptied beforehand.

d

(optional) If "true", the split files are not removed after phase 3. Default: "false".