Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread akshay gupta
will giving --delete-first option in lftp mirror help in my case? I think its not working in case of use-temp-file option. As per the man page its suppose to delete the old version of the file before it start downloading the new one. Its not doing anything. Please help. On Mon, Oct 27, 2014 at 11

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread Alexander Lukyanov
It looks like a bug in the FS (fuse and/or hdfs) which also hits rsync: https://groups.google.com/a/cloudera.org/forum/#!msg/cdh-user/R1GR2Asj_lc/f_uuIjG5R1UJ Please try this workaround. 2014-10-28 10:29 GMT+03:00 akshay gupta : > will giving --delete-first option in lftp mirror help in my case?

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread Alexander V. Lukyanov
On Tue, Oct 28, 2014 at 12:59:40PM +0530, akshay gupta wrote: > will giving --delete-first option in lftp mirror help in my case? I think This option deletes files not present on the source side first, then starts downloading. It does not delete the file before overwriting. -- Alexander.

Re: [lftp] RSS/ATOM feed

2014-10-28 Thread Alexander V. Lukyanov
On Mon, Oct 27, 2014 at 04:28:11PM +0100, Szépe Viktor wrote: > Thank you for the feed! > > I still have > Certificate verification: Not trusted: no issuer was found > with GNUTLS. > > With your Fedora it is OK. > With gnutls-cli it is also OK on my Debian system. > The problem comes with lftp

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread Alexander Lukyanov
BTW, it looks like mirror should remove the old file before transferring the new one, please run "mirror -vvv" to check that. You can also run strace to check system call sequence. 2014-10-28 11:18 GMT+03:00 Alexander Lukyanov : > It looks like a bug in the FS (fuse and/or hdfs) which also hits r

Re: [lftp] RSS/ATOM feed

2014-10-28 Thread Szépe Viktor
What can we do now? I cannot write a bug report because I do not know how TLS works and I can't speak C. Are you able to read gnutls_certificate_get_peers's source? Idézem/Quoting "Alexander V. Lukyanov" : On Mon, Oct 27, 2014 at 04:28:11PM +0100, Szépe Viktor wrote: Thank you for the fe

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread akshay gupta
Thanks for the patch Alexander, files seems to be getting replaced now. Ill do some more testing to make sure every thing works perfectly. Thanks again, Akshay On Tue, Oct 28, 2014 at 3:21 PM, Alexander Lukyanov wrote: > BTW, it looks like mirror should remove the old file before transferring

Re: [lftp] RSS/ATOM feed

2014-10-28 Thread Alexander V. Lukyanov
On Tue, Oct 28, 2014 at 11:08:30AM +0100, Szépe Viktor wrote: > What can we do now? > I cannot write a bug report because I do not know how TLS works and I can't > speak C. Submit a Debian bug report, specify exact gnutls package version, provide samples of the servers having problems with it. I