public void run() {
		try {
			System.out.println("開始下載[" + fileName + "]");
			byte[] b = new byte[1024];// 一次取得 1024 個 bytes
			int len, bits = 0;// len單次讀取位元數,bits每秒累計下載位元數
			while ((len = bufInStream.read(b, 0, b.length)) != -1) {
				if (!isRun) {
					// System.out.println("停止下載");
					break;
				}
				fileOutStream.write(b, 0, len);
				bits += len;
				currentBits += len;
				if (bits >= (speedKB * 1024) && speedKB != 0) {// 1秒下載的kb足夠就sleep1秒
					bits = 0;
					try {
						Thread.sleep(1000);
					} catch (InterruptedException e) {
					}
				}
				System.out.println("檔案[" + fileName + "]目前下載[" + getCurrentKB()
						+ "]kb");
			}
			close();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}