duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #24889] NCFTP cannot deal with some FTP servers


From: anonymous
Subject: [Duplicity-tracker] [bug #24889] NCFTP cannot deal with some FTP servers - needs extra opts (src fix included)
Date: Thu, 20 Nov 2008 08:01:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]