Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display a progress bar when downloading files.
#1
Is there a wrapper in LA for downloading files with a progress bar? Something similar to the progress bar in QM
 
Code:
Copy      Help
string url = "https://www.quickmacros.com/quickmac.exe";
string file = folders.Desktop + pathname.getName(url);
try
{
    internet.http.Get(url, file);
}

catch (Exception e1)
{

    print.warning($"Failed to download. {e1.ToStringWithoutStack()}");
    return;
}

print.it("downloaded");

QM code:
Code:
Copy      Help
str localfile="$desktop$\quickmac.ex_"
IntGetFile "https://www.quickmacros.com/quickmac.exe" localfile 16 0 1
ren- localfile "$desktop$\quickmac.exe"


Messages In This Thread
Display a progress bar when downloading files. - by Davider - 08-12-2024, 11:24 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)