Answer the question
In order to leave comments, you need to log in
How to track that the file has downloaded?
Implemented a simple method for downloading files:
private void button2_Click(object sender, EventArgs e)
{
for (int i=0; i<=listBox1.Items.Count; i++)
{
var desktop = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
string fileName = desktop + "\\" + i +".mp3";
WebClient webClient = new WebClient();
webClient.DownloadFile(listBox1.Items[i].ToString(), fileName);
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question