URL:
  <http://savannah.nongnu.org/bugs/?24889>

                 Summary: NCFTP cannot deal with some FTP servers - needs
extra opts (src fix included)
                 Project: duplicity
            Submitted by: None
            Submitted on: Thu 20 Nov 2008 08:01:55 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

NCFTP does not correctly deal with some FTP servers.
After login, it issues:
    FEAT
which in my case returns PASV and SIZE.
It then issues HELP_SITE and CLNT with its client desc.
These is not accepted by my FTP server, which returns
a multiline list of acceptible commands.
NCFTP reads the first line, doesn't understand it, 
then attempts a PWD and MKD. It reads the next couple
of lines of the error return above and gets fully
mixed up.

Its a simple fix - just add 
    -o useCLNT=0,useHELP_SITE=0
to the flags to NCFTP.

The exact line to change is in
    duplicity/backends/ftpbackend.py
Change line 71 from
        self.flags = "-f %s %s -t %s" %
to
        self.flags = "-f %s %s -t %s -o useCLNT=0,useHELP_SITE=0 " %





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 20 Nov 2008 08:01:55 AM UTC  Name: log  Size: 2kB   By: None

<http://savannah.nongnu.org/bugs/download.php?file_id=16883>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?24889>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker

Reply via email to