Re: FTP synch broken?

Joe Orton <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
On Sat, Oct 23, 2004 at 06:16:59PM +0100, Chris Wilson wrote:
> Hi all,
> 
> I'm just starting to try to use Sitecopy, so please forgive any mistakes 
> I've made. I'm trying to download my existing website to a local 
> directory, so that I can edit it and upload again.
> 
> I get the following error on Fetch:

Can you try the attached patch, without any of the changes you
attempted?  It should fix the problem.

Regards,

joe

_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
sc_lsparse.diff (text/plain, 500 B)
Index: src/lsparser.c
===================================================================
RCS file: /home/cvs/sitecopy/src/lsparser.c,v
retrieving revision 1.3
diff -u -r1.3 lsparser.c
--- src/lsparser.c	10 Sep 2004 23:29:25 -0000	1.3
+++ src/lsparser.c	30 Sep 2004 22:14:43 -0000
@@ -43,7 +43,7 @@
     char *ptr;
 
     ctx->after_blank = 0;
-    ctx->curdir = ne_strdup(dir);
+    ctx->curdir = ne_strdup("");
     ctx->topdir = ne_strdup(dir);
 
     ptr = ctx->topdir + strlen(ctx->topdir) - 1;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.