How to FTP a ASCII file

tedpottel at gmail.com tedpottel at gmail.com
Tue Jul 3 01:02:46 CEST 2007


Hi,

My program has the following code to transfer a binary file

        f = open(pathanme+filename,'rb')
        print "start transfer"
        self.fthHandle.storbinary('STOR '+filename, f)

How can I do an ASCII file transfer??????
-Ted




More information about the Python-list mailing list