Mon, Apr 07, 2014 at 11:33:48AM +0200, [log in to unmask] wrote:
> we also have a miror of the UMD prod repositories,
> http://repository.egi.eu/sw/production/umd/, done using LFTP. I've just
> mirror it today, and no errors returned.
Our LFTP (without -d) also returns no errors, but mirrors nothing
(old data stays untouched). But with '-d' I get the following:
{{{
$ lftp -d --delete -c 'mirror -vc http://repository.egi.eu/sw/production'
---- Resolving host address...
---- 6 addresses found: 195.251.55.113, 195.251.53.182, 195.251.55.113, 195.251.53.182, 195.251.55.113, 195.251.53.
182
---- Connecting to repository.egi.eu (195.251.55.113) port 80
---- Sending request...
---> HEAD /sw/production/ HTTP/1.1
---> Host: repository.egi.eu
---> User-Agent: lftp/4.4.15
---> Accept: */*
---> Connection: keep-alive
--->
<--- HTTP/1.1 200 OK
<--- Date: Mon, 07 Apr 2014 19:10:38 GMT
<--- Server: Apache/2.2.3 (Scientific Linux)
<--- Connection: close
<--- Content-Type: text/html;charset=ISO-8859-1
<---
---- Closing HTTP connection
---- Connecting to repository.egi.eu (195.251.55.113) port 80
---- Sending request...
---> GET /sw/production/ HTTP/1.1
---> Host: repository.egi.eu
---> User-Agent: lftp/4.4.15
---> Accept: */*
---> Pragma: no-cache
---> Cache-Control: no-cache
---> Connection: keep-alive
--->
<--- HTTP/1.1 200 OK
<--- Date: Mon, 07 Apr 2014 19:10:39 GMT
<--- Server: Apache/2.2.3 (Scientific Linux)
<--- Connection: close
<--- Transfer-Encoding: chunked
<--- Content-Type: text/html;charset=ISO-8859-1
<---
---- Receiving body...
---- next chunk size: 2601
---- next chunk size: 3165
---- next chunk size: 0
---- Received last chunk
<---
XML Parse error at line 42: not well-formed (invalid token)
---- Closing HTTP connection
}}}
My LFTP is 4.4.15.
--
Eygene Ryabinkin, National Research Centre "Kurchatov Institute"
Always code as if the guy who ends up maintaining your code will be
a violent psychopath who knows where you live.
|