Got it. Thanks for your help. :)
--
http://mail.python.org/mailman/listinfo/python-list
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? The file
Thanks, but that didn't help either. Since storbinary is being called
from the main script, I can't see where else it could be getting hung
up. Are there any other debugging techniques I could explore?
I'm sending a 24k image and it is viewable on the destination server,
so it's making it over.
Thanks for the 'debug mode' tip. My file is only 24k (a photo) and the
whole thing makes it to the FTP server. It's just the command never
returns so my program cannot continue execution. When I do turn
debugging on, the last command I see is:
*resp* '150 Connection accepted'
Could it be my FT
I'm using the ftp library (layer on top of sockets) to transfer files
from a series 60 to an ftp site. everything works fine, the whole
file gets uploaded but the command never returns! so
i call:
ftp.storbinary('STOR ' + filename,F,1024) # store the image
which does this:
def storbinary