How to FTP a ASCII file

tedpottel at gmail.com tedpottel at gmail.com
Mon Jul 2 19:02:46 EDT 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