Thread: reg lo_import on windows

reg lo_import on windows

From
"sandhya"
Date:
 

Hi,
   I am using 'lo_import' in windows VC++ application using 'C' and trying to import the files to the database.
 
If the path i am giving like:
C:\\Program Files\\sample.htm
 
It is not considering and i am getting the error as:
Could not open server file "C:\\Program Files\\sample.htm"
If i give :
C:\\sample.htm
 
It is importing properly and storing it in the specified table also.
 
Why it is not doing in the previous case.
But the same i did throug command line and worked file.Through application it is not doing.....
Please help me in resolving this....
 
Thank you,
Sandhya