System.out.println("No credentials found in supernanny.properties!");
username = util.readInput("[username:]");
password = util.readPassword();
}
Sardine sardine = SardineFactory.begin(username, password);
tries++;
sardine.put(MessageFormat.format("{0}{1}", uri, destinationName), fis);
return;
} catch (SardineException e) {
if (e.getStatusCode() == 401) {
wrongPassword = true;
System.err.println("Wrong credentials");