summaryrefslogtreecommitdiffstats
path: root/Lib/mimify.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-28 04:21:20 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-28 04:21:20 (GMT)
commitd499004860fc74cd95f40b786133229f1d0550bf (patch)
treeb6e2788c12e9f3f795bdbf730046f2ec1227e930 /Lib/mimify.py
parentadfacf4e2e8562a67b9611b50c252d6cf239da7a (diff)
downloadcpython-d499004860fc74cd95f40b786133229f1d0550bf.zip
cpython-d499004860fc74cd95f40b786133229f1d0550bf.tar.gz
cpython-d499004860fc74cd95f40b786133229f1d0550bf.tar.bz2
Solve two annoying problems with ftp URLs for Jack: when repeated
retrieving files from the same host and directory, you had to close the previous instance before opening a new one; and retrieving a non-existent file would return an empty file. (The latter fix relies on maybe an undocumented property of NLST -- NLST of a file returns just that file, while NLST of a non-existent file returns nothing. A side effect, unfortunately, seems to be that now ftp-retrieving an *empty* directory may fail. Ah well.)
Diffstat (limited to 'Lib/mimify.py')
0 files changed, 0 insertions, 0 deletions