[DGD]FTP server
Felix A. Croes
felix at dworkin.nl
Fri Jun 23 15:06:08 CEST 2000
Tavis Elliott <tavise at nwlink.com> wrote:
> I spent the morning digging through the RFC. It almost works now, using
> passive mode. The problem I'm having now is that the client makes the
> data connection, and the server sends the data BACK on the data
> connection, but it either never gets displayed on the client, or it gets
> displayed piecemeal while entering subsequent commands.
>
> I'm kinda stumped about what to do next. My current tentative theory is
> that the data isn't being flushed over the connection, but I'm doing
> 'send_message("")' which according to comments in the driver code will
> flush the data. *shrug*
The comment in the driver code states that send_message("") can be used
to flush the <buffer>; flush, as in flush down the toilet.
>From dgd/doc/kfun/send_message:
If send_message() is used to send a new string before all of the
buffered data from a previous call has been sent, the buffered data is
discarded.
Regards,
Dworkin
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list