Remove debug statements
This commit is contained in:
parent
67ad3bf024
commit
92b722b141
@ -49,7 +49,8 @@ public class RemoteStore {
|
|||||||
} else {
|
} else {
|
||||||
throw new ProtocolException("unknown protocol: '" + url.getScheme() + "'");
|
throw new ProtocolException("unknown protocol: '" + url.getScheme() + "'");
|
||||||
}
|
}
|
||||||
ftp.addProtocolCommandListener(new PrintCommandListener(System.out, true));
|
// Uncomment this to print all FTP commands
|
||||||
|
// ftp.addProtocolCommandListener(new PrintCommandListener(System.out, true));
|
||||||
ftp.setListHiddenFiles(true);
|
ftp.setListHiddenFiles(true);
|
||||||
this.secrets = secrets;
|
this.secrets = secrets;
|
||||||
}
|
}
|
||||||
@ -238,11 +239,7 @@ public class RemoteStore {
|
|||||||
}
|
}
|
||||||
String name = getFileName(path);
|
String name = getFileName(path);
|
||||||
FTPFile[] files = ftp.listFiles(pp);
|
FTPFile[] files = ftp.listFiles(pp);
|
||||||
System.out.println("STAT " + name + " in " + pp);
|
|
||||||
for (FTPFile f : files) {
|
for (FTPFile f : files) {
|
||||||
System.out.println(
|
|
||||||
(f.isDirectory() ? "D " : "F ") +
|
|
||||||
f.getName());
|
|
||||||
if (f.getName().equals(name)) {
|
if (f.getName().equals(name)) {
|
||||||
file.set(f);
|
file.set(f);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user