ftplib - Did the whole file get sent?

sjm sjmsoft at gmail.com
Mon Oct 25 09:11:51 EDT 2010


On Oct 23, 2:03 am, Sean DiZazzo <half.ital... at gmail.com> wrote:

I follow every ftp put (STOR) with a dir command.  Then if the
recipient claims that they never got it (or did not get all of it), I
have evidence that they did and that their byte count is the same as
mine.

This does not entirely guarantee that the ftp was perfect but it goes
a long way.  It also provides useful information if there is a
problem.

HTH,
  SJM




More information about the Python-list mailing list