| Description: |
This occurs when connecting via active mode with a file (or data) with newlines. It seems that in InitDataConn(), there is a fileevent that attaches to when the socket is writeable to HandleOutput and the socket is setup with buffering = line (irrespective of mode)
When in active mode, the server hasn't connected yet to the port that the client provides and the buffering=line causes the data to flush before being sent. This leads to a "Timeout of Control Connection" as [with the pyftpdlib server] it terminates the connection as the channel is not readable.
I am using version 1.7 of tcllib (ftp 2.4.1) however, it seems that this issue should still be in ftp 2.4.13
|