Use PB call API automatic update (non-FTP mode) (seven, download code)

xiaoxiao2021-03-06  118

Seven, download code string gs_copyserver1string gs_copyserver2string gs_copyserver3string ls_pathstring ls_mypathlong LL_COUNT = 0

GS_COPYSERVER1 = ProfileString ( "autodown.ini", "downpath", "COPYSERVER1", "") GS_COPYSERVER2 = ProfileString ( "autodown.ini", "downpath", "COPYSERVER2", "") GS_COPYSERVER3 = ProfileString ( "autodown.ini "," DownPath "," COPYSERVER3 "," ""

st_ts.text = 'Checking for the required number of software update ...' ls_path = GS_COPYSERVER1ll_count = f_connect_copycount (ls_path, lb_files1, lb_files2, lb_files3) if ll_count = -1 then ls_path = GS_COPYSERVER2 ll_count = f_connect_copycount (ls_path, lb_files1, lb_files2, lb_files3 ) if ll_count = -1 then ls_path = GS_COPYSERVER3 ll_count = f_connect_copycount (ls_path, lb_files1, lb_files2, lb_files3) if ll_count = -1 then st_ts.text = 'checking whether you need to update the software version ...' ls_path = f_connect_copyserver () if Ls_path = '' Then MessageBox ('connection error!', 'unable to connect the server! Software can't run!', stopsign!) // Close (this) RETURN END if End ifund ifndiff

转载请注明原文地址:https://www.9cbs.com/read-99199.html

New Post(0)