Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Bugfix from mbirth for ftpc bug See: http://www.yacy-forum.de/viewtopic.php?p=15496#15496

theli026dcdfcc016
diff --git a/source/de/anomic/net/ftpc.java b/source/de/anomic/net/ftpc.java
index bf6549822..30e10c9d6 100644
--- a/source/de/anomic/net/ftpc.java
+++ b/source/de/anomic/net/ftpc.java
@@ -1904,7 +1904,7 @@ cd ..
}
c.exec("binary", false);
if (localFile.isAbsolute()) {
- c.exec("lcd " + localFile.getParent(),false);
+ c.exec("lcd \"" + localFile.getParent() + "\"", false);
localFile = new File(localFile.getName());
}
c.exec("put " + localFile.toString() + ((remoteName.length() == 0) ? "" : (" " + remoteName)), false);