error sync data by bluetooth
Posted: November 23rd, 2025, 1:30 pm
Dear Team;
when i copy a file using bluetooth using following code
close(IN_ETAR_DICT);
open(EFHS_WR);
if selcase( EFHS_WR, "" ) include( F_NAME ) where ROLE = 3 & TEAM = curteam then
numeric ifconnect = syncconnect(Bluetooth , B_NAME);
if ifconnect then
syncfile(PUT,fl_name,concat("..\\temp\\ind_etar_",edit("9999",visualvalue(CODE_F)),".csdb"));
syncfile(PUT,"..\\data\\Data_hh.csdb","..\\Data_hh.csdb");
syncdisconnect();
else
errmsg("not conencted");
endif;
else
errmsg( "no device" );
endif;
close(EFHS_WR);
when i open file
i have this error
unexpected error is keeping you from copying file
when i copy a file using bluetooth using following code
close(IN_ETAR_DICT);
open(EFHS_WR);
if selcase( EFHS_WR, "" ) include( F_NAME ) where ROLE = 3 & TEAM = curteam then
numeric ifconnect = syncconnect(Bluetooth , B_NAME);
if ifconnect then
syncfile(PUT,fl_name,concat("..\\temp\\ind_etar_",edit("9999",visualvalue(CODE_F)),".csdb"));
syncfile(PUT,"..\\data\\Data_hh.csdb","..\\Data_hh.csdb");
syncdisconnect();
else
errmsg("not conencted");
endif;
else
errmsg( "no device" );
endif;
close(EFHS_WR);
when i open file
i have this error
unexpected error is keeping you from copying file