static void download() {
        if (sTempFile.exists()) {
            sTempFile.delete();
        }
        BufferedInputStream input = null;
        FileOutputStream output = null;
        try {
//            URL url = new URL(Constants.shiyunVendorUrl());
//            HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection(new Proxy(Type.HTTP, new InetSocketAddress("10.99.20.30", 8080)));
//            httpURLConnection.setDoInput(true);
//            httpURLConnection.setRequestMethod("GET");
//            httpURLConnection.setRequestProperty("Content-type", "text/xml");
//            httpURLConnection.connect();
            
            HttpGet httpGet = new HttpGet(Constants.shiyunVendorUrl());
            HttpResponse response = httpclient.execute(httpGet);
            HttpEntity entity = response.getEntity();
            InputStream stream = entity.getContent();
            
            input = new BufferedInputStream(stream);
            output = new FileOutputStream(sTempFile);
            byte[] buff = new byte[8192];
            int len = -1;
            while ((len = input.read(buff)) != -1) {
                output.write(buff, 0, len);
            }
//            httpURLConnection.disconnect();
            
        } catch (IOException e) {
            sLogger.error("下载视云数据文件错误！", e);
        } finally {
            if (input != null) {
                try {
                    input.close();
                } catch (IOException e) {
                }
            }
            if (output != null) {
                try {
                    output.close();
                } catch (IOException e) {
                }
            }
        }
    }