FTP not Returning (Python on Series 60 Nokia)

Serge Orlov Serge.Orlov at gmail.com
Wed Mar 29 18:17:17 CEST 2006

mbukhin at gmail.com wrote:
> Right.  You know I took your suggestion for more print statements and
> found the offending line.
> [SNIP]
>         print "close start"
>         conn.close()
>         print "close end"
>         #return self.voidresp()
>         print "end of everything"
> self.voidresp() was hanging!  Do I need it?

I don't keep the whole description of ftp protocol in my memory :)
You'd better read the RFC. But I suspect a server is supposed to send
some kind of confirmation that the file was successfully written on a
disk and a client is supposed to wait for such confirmation. 


More information about the Python-list mailing list