BOOL %FIO_ServerSetFile( TEXT in srcFile, TEXT in dstFile )
srcFile | The transferred (copied) file - complete path. |
dstFile | Target location of copied file - complete path with file name. |
After transferring of all data a temporary file is renamed to prefer target file.
Success of the action can be found by return value of function. Existing file dstFile is rewritten by function.
THe maximum size of transferred file is 1GB.
The usage of function: when it is necessary to transfer files from local computer to computer which D2000 Server process is running on. This transfer is done by an active picture.
BOOL _bOK _bOK := %FIO_ServerSetFile("c:\reports\rep1.xls", "c:\appldata\reports\rep1.xls")
Related pages:
0 komentárov