Index: urlgrabber/byterange.py =================================================================== RCS file: /home/groups/urlgrabber/cvs-root/urlgrabber/urlgrabber/byterange.py,v retrieving revision 1.12 diff -u -r1.12 byterange.py --- urlgrabber/byterange.py 20 Jul 2006 20:15:58 -0000 1.12 +++ urlgrabber/byterange.py 13 Mar 2008 18:48:56 -0000 @@ -272,6 +272,8 @@ host, port = splitport(host) if port is None: port = ftplib.FTP_PORT + else: + port = int(port) # username/password handling user, host = splituser(host)