From 026dcdfcc016aa23e42330923569308ff1a9da22 Mon Sep 17 00:00:00 2001 From: theli Date: Fri, 20 Jan 2006 13:37:42 +0000 Subject: [PATCH] *) Bugfix from mbirth for ftpc bug See: http://www.yacy-forum.de/viewtopic.php?p=15496#15496 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1381 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/net/ftpc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);