Here are the error messages I got after scanning ftp.apple.asimov.net:
Removed ‘.listing’.
Wrote HTML-ized index to ‘ftp.apple.asimov.net.html’.
550 NONEXISTINGFILEdgdjahxnedadbacxjbc: No such file or directory
550 NONEXISTINGFILEdgdjahxnedadbacxjbc: No such file or directory
31707010106
This is a result of the lines at:
|
try: |
|
urllib.urlopen('ftp://' + re.search(r'^([^\/]+)', ftp).group(1) + '/NONEXISTINGFILEdgdjahxnedadbacxjbc/') |
|
except Exception as error: |
|
dir_not_found = str(error).replace('[Errno ftp error] ', '') |
|
print(dir_not_found) |
|
|
|
try: |
|
urllib.urlopen('ftp://' + re.search(r'^([^\/]+)', ftp).group(1) + '/NONEXISTINGFILEdgdjahxnedadbacxjbc') |
|
except Exception as error: |
|
file_not_found = str(error).replace('[Errno ftp error] ', '') |
|
print(file_not_found) |
What's the rationale behing trying to fetch non-existing directories and non-existing files on purpose ?
As a user, my first reaction was to think something went wrong.
Here are the error messages I got after scanning ftp.apple.asimov.net:
This is a result of the lines at:
ftp-queue/ftp_check.py
Lines 134 to 144 in 53c82cc
What's the rationale behing trying to fetch non-existing directories and non-existing files on purpose ?
As a user, my first reaction was to think something went wrong.