passing -x '' to ncftpls by duplicity causes it to fail
Bug #245740 reported by
Kent Tong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Unknown
|
Unknown
|
|||
duplicity (Ubuntu) |
Fix Released
|
Medium
|
Kenneth Loafman |
Bug Description
Binary package hint: duplicity
Duplicity runs ncftpls like this:
ncftpls -x '' -f t1 -F -t 30 ftp://ftp.
in which -x '' causes it to fail (exit code = 3, ie, transfer error), at least on my
Yahoo ftp server. To fix it, I modified the file
/usr/lib/
line from:
commandline = "ncftpls -x '' %s '%s'" % \
To:
commandline = "ncftpls -x '-t' %s '%s'" % \
Related branches
Changed in duplicity: | |
status: | Incomplete → Triaged |
Changed in duplicity: | |
assignee: | nobody → kenneth-loafman |
To post a comment you must log in.
Are you using duplicity 0.4.10-1 on Hardy?
Please try, if omitting the -x flag altogether works perhaps:
ncftpls -f t1 -F -t 30 ...
If this also fails (I expect that), please try other flags for "ls", e.g. "-f" for "do not sort".
Seems to be a strange error (caused by ncftpls with your ftp server). Can you find out which FTP server Yahoo uses here (name + version)?