SetLocalFile
Structure
SetLocalFile(sFileName,sTempName)
Parameters
| Parameter | Type | Description |
|---|---|---|
sFileName | String | the name of the network directory + file name where the IndySoft temp directory should be copied. This file name should include the full network directory path. |
sTempName | String | the file name of the file to be copied in the IndySoft temp directory. This file name should NOT include the directory path, only the file name plus extension. |
Return value
Char
'1' = Success, '0' = Failure
Description
Functions in the 'Local File Read/Write Functions' group are used typically to create and read xml (or other) files from a common network directory to sync IndySoft's data/functionality with another system, like an accounting system. This function is the opposite of GetLocalFile - this function copies the sTempName file located in the IndySoft temp directory to the sFileName location - where it is assumed another application will pickup the file for import into another database, etc.
Example
No example provided
See also
No related topics