Function NnetCopy() Foundation

Copies files within file server volumes.

Syntax
NnetCopy( <cSourceFile>   , ;
          <cTargetFile>   , ;
          [<nBytesToCopy>]  ;  // Default: Size of source file
        ) --> nCopiedBytes
Return

Returns the number of bytes copied from source to target file or -1 in case of an error.

Description

Both, source and target file must be on volumes of the same file server. The function does not copy files between file servers or to drives other than server volumes.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.