code: public static File downloadFileToTemp(final String fileUrl, final String ext) throws IOException {
  		final File file = File.createTempFile("jk-", ext);
  		JKHttpUtil.downloadFile(fileUrl, file.getAbsolutePath());
  		return file;
  	}
docs: Download file to temp.
  
  @param fileUrl the file url
  @param ext     the ext
  @return the file
  @throws IOException Signals that an I/O exception has occurred.