prototype Posted September 12, 2011 Share Posted September 12, 2011 Arkadaşlar aşağıdaki kodda kırmızı renkte belirttiğim yeri değiştirince indirme işlemini başlatmıyor. Sabit Autoplay / Docs klasörüne indiriyor ben bunu c:/WTR şeklinde yapmak istiyorum ama olmuyor bi yardım ederseniz sevinirim. Olmazsa eğer proje dosyasını paylaşırım teşekkürler.. [quote] session = 0; strURL = "http://warrockTR.com/WarRock/War_Rock_20100921.exe" DestFile = _SourceFolder.."[color="#FF0000"]\\AutoPlay\\Docs\\War_Rock_20100921.exe[/color]" function Download.OnProgress(tblData) if ( tblData ~= nil) then Progress.SetCurrentPos("Progress1", tblData.Percent); Progress.SetText("Progress1", tblData.Percent.." %"); Input.SetText("Input1", tblData.Percent); local strinfo = string.format("İndiriliyor .. %s / %s - Hız : %d Kb/s",String.GetFormattedSize(tblData.Loaded, FMTSIZE_AUTOMATIC, true),String.GetFormattedSize(tblData.Total, FMTSIZE_AUTOMATIC, true), tblData.CurrentSpeed); Label.SetText("Label1", strinfo); end end function Download.OnComplete(tblData) Download.Delete(tblData.Session); Label.SetText("Label1", "Yükleme tamamlandı.."); end function Download.OnError(tblData) Download.Delete(tblData.Session); -- Important !! - do not forget to call this first Label.SetText("Label1", "Yükleme Hatası.."); end [/quote] Quote Link to comment Share on other sites More sharing options...
guclusat Posted September 12, 2011 Share Posted September 12, 2011 Bildiğim kadarıya _DesktopFolder yazman gerekiyor. arkadaşım yinede ıstalara sormak lazım Quote Link to comment Share on other sites More sharing options...
prototype Posted September 12, 2011 Author Share Posted September 12, 2011 [quote name='guclusat' date='12 September 2011 - 20:21 ' timestamp='1315851671' post='1078268'] Bildiğim kadarıya _DesktopFolder yazman gerekiyor. arkadaşım yinede ıstalara sormak lazım [/quote] Olmadı Quote Link to comment Share on other sites More sharing options...
galetis Posted September 12, 2011 Share Posted September 12, 2011 [code]DestFile = "C:\\Wtr\\War_Rock_20100921.exe"[/code] Quote Link to comment Share on other sites More sharing options...
prototype Posted September 12, 2011 Author Share Posted September 12, 2011 [quote name='galetis' date='12 September 2011 - 20:52 ' timestamp='1315853534' post='1078285'] [code]DestFile = "C:\\Wtr\\War_Rock_20100921.exe"[/code] [/quote] Çok teşekkür ederim oldu sağolasın. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.