title: NSISdl could not open file during download
body: <p>I'm using NSIS to create an installer which will install files from a web server. I'm using the NSISdl plugin to download the files but they are not downloading, it just says Download Failed: failed to open file.</p>
  
  <p>This is the section which is doing the download, could I be missed something here.</p>
  
  <pre><code> Section "Aquiva"
      ; Set    output path to the installation directory.
      SetOutPath $INSTDIR
  
      ;Include files from this location, and copy that to the current
      ;out path
  
      NSISdl::download http://41.78.239.158/Aquiva.exe
  Pop $R0 ;Get the return value
    StrCmp $R0 "success" +3
      MessageBox MB_OK "Download failed: $R0"
      Quit
  
  SectionEnd ; end the section
  </code></pre>