ftp design question

2008-12-28 Thread nemo
Hi,all. I'm on a toy ftp project and I want it to be convinient for the user to cancel an undergoing downloading while continue others. The following code explains: for file in download_files: self.ftp.retrbinary('RETR '+file, fileHandler) Thers seems not a solid way to cancel this transfer

Re: ftp design question

2008-12-28 Thread Steve Holden
nemo wrote: Hi,all. I'm on a toy ftp project and I want it to be convinient for the user to cancel an undergoing downloading while continue others. The following code explains: for file in download_files: self.ftp.retrbinary('RETR '+file, fileHandler) Thers seems not a solid way to

Re: ftp design question

2008-12-28 Thread nemo
On Dec 29, 12:31 pm, Steve Holden st...@holdenweb.com wrote: nemo wrote: Hi,all. I'm on a toy ftp project and I want it to be convinient for the user to cancel an undergoing downloading while continue others. The following code explains: for file in download_files: