Sunday
Feb192012
SquidImportData
- Import data into SQUID.
- The first row of the file will contain the parameter name.
- If the UI is being used, click the '...' to display the file open dialog.
Prototype
int SquidImportData(int iSquid, char* sFilePath);
- Parameters
iSquid Squid Connection Handle sFilePath Path of data file to import
- Return Values
0 Operation successful -1 Error occurred, call SquidGetLastError for details
Example
int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidImportData(iSquid, "c:\\users_to_import.dat");
SquidDisconnect(iSquid);
Import File
users
user001
user002
user003
user004