[Twisted-Python] ftp question

I list, I want to implement a not standard ftp STOR (STOT in the real) command. It not accept the path, because it create a new one on the server side. I'm tring to work with the sendToConnection and SenderProtocol, but I don't understand where the file (that on storeFile are passed as "path") are opened (read) for after pass its data to the write method of SenderProtocol. I stop myself because I'm not able to send data throw the channel! Can someone help me? Thanks, Michele

Michele Petrazzo wrote:
I list, I want to implement a not standard ftp STOR (STOT in the real) command. It not accept the path, because it create a new one on the server side. I'm tring to work with the sendToConnection and SenderProtocol, but I don't understand where the file (that on storeFile are passed as "path") are opened (read) for after pass its data to the write method of SenderProtocol.
I stop myself because I'm not able to send data throw the channel!
I reply to myself saying that the reply are here: http://twistedmatrix.com/pipermail/twisted-python/2003-October/005884.html Michele
participants (1)
-
Michele Petrazzo