in reply to How to download a file from the server

which is not working.

It explodes again?

  • Comment on Re: How to download a file from the server

Replies are listed 'Best First'.
Re^2: How to download a file from the server
by ghosh123 (Monk) on Jul 23, 2013 at 12:08 UTC

    Upon clicking on that a href link , it simply displays the content on the createReport.pl page as :

    Content-Type:application/vnd.ms-excel Content-Disposition:attachment;f +ilename=report.xls


    Whereas I am expecting a download dialog to appear and letting me download the report.xls

      it simply displays the content

      you need to look the HTTP, at the bytes, try lwp-download or wget --debug and look at the bytes