title: Download a file reading first a file which contains the url
body: <p>I have an mp3.txt file which contains URLs to download. How do I read the contents to then download the URLs? I tried this but it's not working:</p>
  <pre><code>Func _downloader($link)
      Local $dwnarrayread[3] = [IniRead(@ScriptDir &amp; &quot;\mp3.txt&quot;, &quot;file_links&quot;, &quot;link_1&quot;, Default), IniRead(@ScriptDir &amp; &quot;\mp3-2.txt&quot;, &quot;file_links&quot;, &quot;link_2&quot;, Default), IniRead(@ScriptDir &amp; &quot;\mp3-3.txt&quot;, &quot;file_links&quot;, &quot;link_3&quot;, Default)]
      $dwnlink = InetGet($dwnarrayread[$link], @ScriptDir &amp; &quot;PSU-04.mp3&quot;, 1, 1)
  
      Do
          Sleep(50)
          $prc = Round(InetGetInfo($dwnlink, 0) / (InetGetInfo($dwnlink, 1)) * 100)
          GUICtrlSetData($progressbar1, $prc)
      Until InetGetInfo($dwnlink, $INET_DOWNLOADCOMPLETE)
  EndFunc
  </code></pre>
  <p>mp3.txt file :</p>
  <pre><code>[files_links]
  link_1=https://ftp.psu.ac.th/pub/demo/mp3/PSU-04.mp3
  link_2=http://somesite.com/files/file2.zip
  link_3=http://somesite.com/files/file3.zip
  </code></pre>