[Tutor] FTP Binary Mode.

Chad Crabtree flaxeater at yahoo.com
Thu Apr 29 01:37:37 EDT 2004


I am modifying the thumbnail.py file from useless
python to connect via ftp and make thumbnails.  I'm
the snag I've ran in to is that 
ftp.FTP.retrbinar(cmd,callback,blockisize)
on does things through the callback function.  I would
like to create a file object with it somehow but I'm
stumped.  I know I could make it into a big string but
then I would need to turn it into a file object.  I'm
really stumped.


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



More information about the Tutor mailing list