ftps support using lftp (ftpsbackend)
Bug #626915 reported by
Marcel Pennewiß
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
this patch adds a new backend (ftpsbackend) which uses lftp. lftp (compared to ncftp) supports ftps (using gnutls or openssl-libs) as well as IPv6.
Because i'm neither a python pro nor a lftp pro this patch is a "works-
Known problems:
- the destination directory will not be created if it missing while lftp has no support for automatic creation (afaik)
This patch works with duplicity-0.6.09.
Changed in duplicity: | |
status: | New → In Progress |
Changed in duplicity: | |
importance: | Undecided → Medium |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
milestone: | none → 0.7.00 |
Changed in duplicity: | |
milestone: | 0.7.00 → 0.6.12 |
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
status: | In Progress → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
depending on the defaults of lftp maybe we should also add some new values for ssl-enabled connections self.tempfile, "set ftp:ssl- allow true\n") self.tempfile, "set ftp:ssl- protect- data true\n") self.tempfile, "set ftp:ssl- protect- list true\n")
...
os.write(
os.write(
os.write(
...