Does Python ftplib support APPEND?

noahspurrier at noahspurrier at
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...

In article <92edhe$g7f$1 at>,
  noahspurrier at 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

Sent via

More information about the Python-list mailing list