public User getUploadStatus() throws IOException, SAXException, FlickrException {
List parameters = new ArrayList();
parameters.add(new Parameter("method", METHOD_GET_UPLOAD_STATUS));
parameters.add(new Parameter("api_key", apiKey));
Response response = transportAPI.get(transportAPI.getPath(), parameters);
if (response.isError()) {
throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
}
Element userElement = response.getPayload();
User user = new User();
user.setId(userElement.getAttribute("id"));
user.setPro("1".equals(userElement.getAttribute("ispro")));
user.setUsername(XMLUtilities.getChildValue(userElement, "username"));