Does Python ftplib support APPEND?
noahspurrier at my-deja.com
noahspurrier at my-deja.com
Wed Dec 27 23:12:43 EST 2000
As usual, I figured this out almost immediately after I asked...
import ftplib
ftp = ftplib.FTP('localhost')
ftp.login ('user','password')
fin = open ('foo.txt', 'r')
ftp.storbinary ('APPE foo2.txt', fin, 1)
I think that works...
Yours,
Noah
In article <92edhe$g7f$1 at nnrp1.deja.com>,
noahspurrier at my-deja.com wrote:
>
>
> As far as I can tell Python ftplib does not
> support ftp append (from RFC959). Is that true? Is there
> any way around this for me? We need to use append.
>
> We're using Python 2.0
>
> Yours,
> Noah
>
> Sent via Deja.com
> http://www.deja.com/
>
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list