cArqOrigSource file path.
AdvPL GuideMsCopyFile(cArqOrig,cArqDest) -> lOkCopies a binary file between paths.
Source and destination include filename and extension. Copying a file does not guarantee a consistent backup of a running database. Permissions and path-access context matter. Historical reference: verify behavior in the deployed release/RDD. (Sources: refs. 1–1.)
MsCopyFile(cArqOrig,cArqDest) -> lOkcArqOrigSource file path.
cArqDestDestination file path.
Logical result of the documented operation.
#Include "Protheus.ch"
User Function Ed534()
// Block not invoked; supply only authorized test artifacts.
Local bOperation := {|cSource,cDest| MsCopyFile(cSource,cDest)}
ConOut(ValType(bOperation))
Return NilPrints B. The operation is not executed; check its logical result when integrating. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.