aseem at neurobs.com (A M) wrote in news:ed6d1c1a.0202121225.295ca950 @posting.google.com: > fp = open('fp.exe') > print fp.read(); use open(name, 'rb') here. binary mode is important when the cgi runs on win32. not sure if this fixes your other problem though... chris -- Chris <cliechti at gmx.net>