COPYFILEFROM()
From Recital Documentation Wiki
Purpose
Function to copy a file from the client to the server
Syntax
COPYFILEFROM(<expC1>, <expC2>, <expC3>, <expL> )
See Also
Description
The COPYFILEFROM() function is used to copy files from the client to the server. It will return TRUE if the file transfer is successful, otherwise it will return FALSE.
Keyword | Description |
---|---|
<expC1> | The file transfer type: "BINARY" or "TEXT". |
<expC2> | The name of the server file to be created. |
<expC3> | The name of the client file to be transferred. |
<expL> | If .T. (TRUE), the file transfer status is displayed in the status bar. |
Example
if copyfilefrom("TEXT","/usr/recital/UAS/mirage/mirage_demo/mirage_demo.prg ", ; " C:Program FilesRecitalUASMirageMirage_demoMirage_demo.prg ",.T.) dialog box "File transfer successful" else dialog box "File transfer failed" endif
Products
Recital Mirage