public class Util02 {


  /**
   * 文件下载实现
   */
  public File download() throws IOException{
URL url = new URL("http://192.168.1.251/esssweb/Services/GetMasterDbDataHandler.ashx");
HttpURLConnection http = (HttpURLConnection) url.openConnection();
http.connect();
InputStream is = http.getInputStream();
OutputStream os = new FileOutputStream(new File("/sdcard/e-SSS/master.zip")) ;
int len = -1;
byte[] bytes = new byte[10240];
while((len = is.read(bytes)) != -1){
os.write(bytes, 0, len);
os.flush();
}
os.close();
is.close();
http.disconnect();
return new File("/sdcard/e-SSS/master.zip");

      }---------------------------
public class StartActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
       try {
       new Util02().download();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

    }测试android下载,为何下载不到文件,求解