Changes between Initial Version and Version 3 of Ticket #69


Ignore:
Timestamp:
Nov 15, 2012, 9:28:53 PM (9 years ago)
Author:
schwa
Comment:

Hey, that's an excellent idea. Thanks a lot! :-)

I don't know yet if I'll add the flag, but skipping problematic entries instead of aborting the whole listing operation definitely makes sense to me. I wonder why I didn't have this idea myself.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #69

    • Property Keywords listdir whitespace added
    • Property Status changed from new to assigned
  • Ticket #69 – Description

    initial v3  
    1 In case if there is an entry with an empty name or a name consisting of spaces only in the certain folder, listdir() is unable to correctly parse the response from FTP server. This leads to ValueError exception.
     1In case if there is an entry with an empty name or a name consisting of spaces only in the certain folder, listdir() is unable to correctly parse the response from FTP server. This leads to `ValueError` exception.
    22
    33Use case of the server response (after 23:35 there are 4 spaces):