Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ignore case while finding
  • Loading branch information
donbarbos committed Feb 18, 2025
commit e5dd0276f9086e28344328505937575408e9d3b9
2 changes: 1 addition & 1 deletion Lib/ftplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def parse150(resp):
raise error_reply(resp)

start = resp.find('(')
end = resp.find(' bytes)')
end = resp.lower().find(' bytes)')

if start == -1 or end == -1 or start >= end:
return None
Expand Down
Loading