[Twisted-Python] FTP Client - questions

2010-03-18 Thread Renan Mathias Fernandes
def connectionMade(ftpClient): test = FileReceiver('./testRetrieve.txt') try: ftpClient.retrieveFile('testFile.txt',test) except: print "Exception -", sys.exc_value reactor.stop()

[Twisted-Python] qtreactor and Linux problems

2010-03-02 Thread Renan Mathias Fernandes
self.ui=Ui_MainWindow() self.ui.setupUi(self) def main(): app = QtGui.QApplication(sys.argv) qt4reactor.install() window=Main() window.show() from twisted.internet import reactor reactor.run() sys.exit(app.exec_()) if __name__ == "__main__"

Re: [Twisted-Python] Modifying Echo example

2010-03-01 Thread Renan Mathias Fernandes
Thank you Mark, that worked perfectly! Renan Mathias Fernandes On Mar 1, 2010, at 4:41 PM, Mark Bailey wrote: > Hi Renan: > > I asked almost the same question a few weeks ago. Look at > http://twistedmatrix.com/trac/wiki/FrequentlyAs

[Twisted-Python] Modifying Echo example

2010-03-01 Thread Renan Mathias Fernandes
n example on how can I do that? Thanks in advance, Renan Mathias Fernandes ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python