I have opened an FTP connection, and use the following to download a logfile:
f = open('c:///web.log','w') ftp.retrlines('RETR ex050202.log', f.write) I have also tried with f.writelines. It works, but not as well as I would like. All the \n's are removed. How can I download an exact copy, so that each line actually ends up being on a separate line? Thanks in advance... -- This email has been scanned for viruses & spam by Decna as - www.decna.no Denne e-posten er sjekket for virus & spam av Decna as - www.decna.no _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor