import urllib for i in range(10): urllib.FancyURLopener().retrieve('ftp://ftp.netbsd.org/robots.txt', './robots.txt')