MehmetISBILIR Posted November 20, 2010 Share Posted November 20, 2010 beyler uzun bir aradan sonra selam internet varsa indir HTTP.Download("http://www.google.com/abc.exe", _DesktopFolder .. "\\abc.exe", MODE_BINARY, 20, 80, nil, nil, nil) internet yoksa indirme + dialog internet gibi birşey yapılınabilinir mi? test bağlantısı varmış ama nasıl formüleyecez kontrol = HTTP.TestConnection("http://www.mydomain.com/myscript.php", 20, 80, nil, nil); Link to comment Share on other sites More sharing options...
KintaRo Posted November 20, 2010 Share Posted November 20, 2010 [codebox]bKontrol = HTTP.TestConnection("http://www.google.com", 20, 80, nil, nil) if bKontrol then HTTP.Download("http://www.google.com/abc.exe", _DesktopFolder .. "\\abc.exe", MODE_BINARY, 20, 80, nil, nil, nil) else Dialog.Message("Hata", "Lütfen internet bağlantınızı kontrol edip tekrar ediniz!", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1) end[/codebox] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.