Prehľad
Nástroje obsahu
BOOL %FIO_ServerSetFile( TEXT in srcFile, TEXT in dstFile )
srcFile | 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 action can be found by return value of function.
Existing file dstFile is rewritten by function.
Maximum size of transferred file is 1GB.
Usage of function: when it is necessary to transfer files from local computer to computer which process D2000 Server is running on. This transfer is done by active picture.
BOOL _bOK _bOK := %FIO_ServerSetFile("c:\reports\rep1.xls", "c:\appldata\reports\rep1.xls")
Related pages:
0 komentárov