Re: Help using HTTP_Download
| From: | Craig H. Anderson | Date: | Wed, 26 Nov 2003 16:58:28 +0000 |
| Subject: | Re: Help using HTTP_Download | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9159@lists.php.net to get a copy of this message | ||
Same results. Without kget the download works fine ([Save as])
With kget [Save as] does this:
Pop up Title - Error - KGet
Already saving URL
http://www.ostechnet.com/acts29/glop.php
[OK] -> opens kget window
Resume -> pop window appears
Pop up Title - Error - KGet
Malformed URL glop.txt
------------- From glop.php
require_once 'DB.php';
require_once '/home/coot/www/acts29/Download.php';
...
$params = array();
$params['data'] = $dnld;
$params['contenttype'] = "text/tab-separated-values; charset=ISO-8859-1";
$params['contentdisposition'] = array(HTTP_DOWNLOAD_ATTACHMENT,'contacts.tsv');
$http_dnld = new HTTP_Download($params);
$http_dnld->send();
Michael Wallner writes:
Hi Craig H. Anderson, you wrote:The problem appear to be 'Save as' using kget. 'Open' works with kget. 'Save as' works when kget is removed.Could you please try attached version again? Many thanks, -- Michael - < mike(@)php.net >