Copies sections of a file in backup mode
FileCCont(<cFile>) --> <nCopyByte>
<cFile> : The file name for the target file.
<nCopyByte> : number of bytes copied
FILE COPY CONTINUE
Use this function primarily after a FileCopy(). As much as possible of the remaining data is written to a new disk. If the remaining data still does not fit on the designated target disk, call this function repeatedly until it writes all the remaining data. Each time you call FileCCont(), a new name can be designated for the target file. These files are then numbered consecutively (see Examples).
. If a copy procedure on multiple disks terminates for any reason, call FileCClose().
. Use SETFCREATE() to designate an attribute to form a new file.
. The function acknowledges the CSETSAFETY() implementation, as does FileCopy()
. Show a back up with FileCopy(). After terminating, close the source file: FileCopy(cSource, cTarget, .T.) // Back up mode DO NEXTDISK // When terminated Terminated = .T. DO WHILE FILECOPEN() .AND. .NOT. Terminated FileCCont(cTarget) // Next disk, new name DO NEXTDISK // Request for disk exchange ENDDO IF Terminated FileCClose() // Close source file! ENDIF