Custom Query (120 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 120)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#107 fixed untrapped exception schwa ftputiluser
Description
     for root,dirs,files in ftp_host.walk(ftp_host.curdir, topdown=True, onerror=None, followlinks=False):
  File "/usr/local/lib/python3.4/dist-packages/ftputil/host.py", line 917, in walk
    for item in self.walk(path, topdown, onerror, followlinks):
  File "/usr/local/lib/python3.4/dist-packages/ftputil/host.py", line 917, in walk
    for item in self.walk(path, topdown, onerror, followlinks):
  File "/usr/local/lib/python3.4/dist-packages/ftputil/host.py", line 917, in walk
    for item in self.walk(path, topdown, onerror, followlinks):
  File "/usr/local/lib/python3.4/dist-packages/ftputil/host.py", line 908, in walk
    if self.path.isdir(self.path.join(top, name)):
  File "/usr/local/lib/python3.4/dist-packages/ftputil/path.py", line 159, in isdir
    path, _exception_for_missing_path=False)
  File "/usr/local/lib/python3.4/dist-packages/ftputil/host.py", line 889, in stat
    return self._stat._stat(path, _exception_for_missing_path)
  File "/usr/local/lib/python3.4/dist-packages/ftputil/stat.py", line 747, in _stat
    _exception_for_missing_path)
  File "/usr/local/lib/python3.4/dist-packages/ftputil/stat.py", line 701, in __call_with_parser_retry
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/ftputil/stat.py", line 685, in _real_stat
    format(original_path))
ftputil.error.PermanentError: recursive link structure detected for remote path './old-gnu/Manuals/automake-1.3/automake-1.4'
Debugging info: ftputil 3.3.1, Python 3.4.3 (linux)
Uncaught exception. Entering post mortem debugging

wrapped by
try:
            result = method(*args, **kwargs)
            # If a `listdir` call didn't find anything, we can't
            # say anything about the usefulness of the parser.
            if (method is not self._real_listdir) and result:
                self._allow_parser_switching = False
            return result
        except ftputil.error.ParserError:
            if self._allow_parser_switching:
                self._allow_parser_switching = False
                self._parser = MSParser()
                return method(*args, **kwargs)
            else:
                raisetry:
            result = method(*args, **kwargs)
            # If a `listdir` call didn't find anything, we can't
            # say anything about the usefulness of the parser.
            if (method is not self._real_listdir) and result:
                self._allow_parser_switching = False
            return result
        except ftputil.error.ParserError:
            if self._allow_parser_switching:
                self._allow_parser_switching = False
                self._parser = MSParser()
                return method(*args, **kwargs)
            else:
                raise

so no handler for Permanent error

#106 invalid anonymous user ? schwa ftputiluser
Description

The signature of FTPHost function requires a user and a password.

It would be good if the default was to user an anonymous user (like in basic ftp clients).

I also could not find an example about how to login with anonymous user in the documentation

#105 wontfix option to preserve mtime on upload and download schwa ftputiluser
Description

Similar to pysftp, which offers the preserve_mtime option for get and put (https://pysftp.readthedocs.io/en/release_0.2.9/pysftp.html#pysftp.Connection.get) and (https://pysftp.readthedocs.io/en/release_0.2.9/pysftp.html#pysftp.Connection.put).

Right now, there is no way to use ftputil to preserve the mtime of an upload (although you may use os.utime to modify the mtime of a download, once it is downloaded). This is a big thing I need to do so help is appreciated!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.