Re: Process with ftplib

2008-12-26 Thread nemo
On Dec 26, 10:40 pm, "Gabriel Genellina" wrote: > En Fri, 26 Dec 2008 11:07:30 -0200, nemo escribió: > > > There seems something wrong when I use multiprocessing.Process with > > ftplib, [...] > > It works well but when I using the Process module, something seems > > wrong: > > ftp = qftp(host, p

Re: Process with ftplib

2008-12-26 Thread Gabriel Genellina
En Fri, 26 Dec 2008 11:07:30 -0200, nemo escribió: There seems something wrong when I use multiprocessing.Process with ftplib, [...] It works well but when I using the Process module, something seems wrong: ftp = qftp(host, port, user, password) p = multiprocessing.Process(target = ftp.connect)

Process with ftplib

2008-12-26 Thread nemo
Hi,all There seems something wrong when I use multiprocessing.Process with ftplib, My ftp class has a connection method like this: class qftp: def __init__(...): self.ftp = FTP() def connection(self): self.ftp.connect(self.addr, self.port) self.ftp.login(self.user, s