Package: python2.3,python2.4
Version: 2.3.5-3,2.4.1-2

Hi,

python's urllib does the following things "on the line" when retrieving
a file by ftp:
send(3, "PASV\r\n", 6, 0)               = 6
send(3, "NLST ftp-master.debian.org\r\n", 28, 0) = 28

But RFC 959 states:
  This command [NLST] causes a directory listing to be sent from server
  to user site.  The pathname should specify a directory or other
  system-specific file group descriptor

So, according to the robustness principle, it is wrong that python
aborts file transfer if the server refuses to support NLST on files.


Cheers,
Andi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to