[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] 0.4.3-rc11 failure on FTP
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] 0.4.3-rc11 failure on FTP |
Date: |
Sat, 04 Aug 2007 09:48:53 -0500 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070604) |
Nicolas Aspert wrote:
> Hello
>
> I just found out that 0.4.3-rc11 ftp backend fails when running ncftpls
> on an empty remote directory (which is my case as I want to do a full
> backup).
> Running
> ncftpls -F -t 30 -u srvbck ftp://192.168.1.10/array1/homebck0/
> returns an error code 3
> I have ncftp 3.2.0 installed on a Centos5
>
> I'll try to see whether I can fix this soon.
It turns out there's an easy fix to that, use the -l option.
ncftpls -F -t 30 -u srvbck -l ftp://192.168.1.10/array1/homebck0/
gives a long listing. I just need to parse the list returned, but
that's not too bad as long as everyone's compatible. The best answer
may be to use the -l option first, if we get anything back then do the
default -1 option to get the list, thereby ignoring ls differences.
I'll put a note into Mike to see if there's a better way. This has
become a real nuisance for all.
...Ken
signature.asc
Description: OpenPGP digital signature