Re: How to FTP a ASCII file

2007-07-07 Thread [EMAIL PROTECTED]
On Jul 2, 7:12 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 3, 9:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > My program has the following code to transfer a binary file > > > f = open(pathanme+filename,'rb') > > print "start transfer" > > sel

Re: How to FTP a ASCII file

2007-07-07 Thread [EMAIL PROTECTED]
On Jul 2, 7:07 pm, Adonis Vargas <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > 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,

How to FTP a ASCII file

2007-07-02 Thread [EMAIL PROTECTED]
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 -- http://mail.python.org/mailman/listinfo/python-list

Re: How to FTP a ASCII file

2007-07-02 Thread Adonis Vargas
[EMAIL PROTECTED] wrote: > 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 > Taken fro

Re: How to FTP a ASCII file

2007-07-02 Thread John Machin
On Jul 3, 9:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > 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 fi