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);