|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack FileSys Procedures Files FileCopyFeedBk|
|See also: CopyFileTree, TFileCopyFeedBack, AbortAnyFileCopying|
The function FileCopyFeedBk copies the file SourceName to the file DestName. The path of the destination file must be existing. If the parameter RemoveReadOnly is TRUE the read-only attribute is reset in the destination copy (i.e. when copying a file from CDROM the read-only attribute is not transferred to the harddisk). The parameter FeedBackProc defines the feeback routine which is called every 8 kB copied and at the start and at the end of the copying process. If no feedback should be given, FeedBackProc should be set to nil. The file copy process can be aborted by calling the procedure AbortAnyFileCopying. In this case the partial copy DestName is not removed from the disk and has to be removed manually.
On return, the function FileCopyFeedBk delivers the following error codes: