Güncel cURL ile Dosya İndirme

  • Konuyu Başlatan Konuyu Başlatan Falcon
  • Başlangıç tarihi Başlangıç tarihi

Falcon

Yönetici
Kod:
url = "https://example.com/dosya.zip"
hedef_dosya = _DesktopFolder .. "\\dosya.zip"

command = 'curl -o "' .. hedef_dosya .. '" "' .. url .. '"'
System.Execute(command)

if File.Exists(hedef_dosya) then
    Dialog.Message("Başarılı", "Dosya başarıyla indirildi!", MB_OK, MB_ICONINFORMATION)
else
    Dialog.Message("Hata", "Dosya indirilemedi!", MB_OK, MB_ICONERROR)
end
 
Geri
Üst