← Back to team overview

duplicity-team team mailing list archive

Re: [Question #250357]: FTP fails from root directory

 

Question #250357 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/250357

edso posted a new comment:
On 17.06.2014 20:26, gobbo wrote:
> Question #250357 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/250357
> 
>     Status: Answered => Solved
> 
> gobbo confirmed that the question is solved:
>>  Each put is a new connection.
> Hm, thats a pity (in my special case).
> I will have a look into that backend code and see what I can do about it. Or at least I can bother the NcFTP people with that question ;)
> However, thank you very much Ken for the quick and kind help! Very appreciated!
> 

you can try the (lftp) ftps backend. it currently is not defaulted to
handle ftp, but i always wanted to add it as an alternative.

try
- rename duplicity/backends/ftpbackend.py to ftpbackend.py.sav
- edit duplicity/backends/ftpsbackend.py

comment lines 76-78
        #os.write(self.tempfile, "set ftp:ssl-allow true\n")
        #os.write(self.tempfile, "set ftp:ssl-protect-data true\n")
        #os.write(self.tempfile, "set ftp:ssl-protect-list true\n")

change last line to ftp instead of ftps
duplicity.backend.register_backend("ftp", FTPSBackend)

..ede

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.