curlDownload
static public function curlDownload($remote,$local) {
$Http = new \Org\Net\Http();
$Http::curlDownload("http://h.hiphotos.baidu.com/image/pic/item/b64543a98226cffc9153e5b3bb014a90f603eab2.jpg", "./Public/file/1.jpg");
download
$Http = new \Org\Net\Http();
$filename="Public/file/test.doc";
$showname="test.doc";
$content = "this"; // 表示下载的文件内容只有this
$Http::download($filename, $showname, $content);