[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTPAPI question



Sender: Christian <chrisv5@xxxxxx>

I have a couple of questions on my mind, but cannot really focus on them right now. Thus I hope that i am forgiven if I keep asking them one be one. Right now I'd like to know this:

Why is there support for multiple sessions in FTPAPI? It uses non-blocking sockets and it is not threaded, thus everything is sequential anyway. This is actually a problem cause most FTP servers I am aware of have the habit of timing out a connection rather quickly. Hence the "keep alive" stuff in many generic FTP clients (which is not handled by FTPAPI in any way).

I'd like to hear rationales and use cases for multiple sessions (so far, I have only heard about people having too few sessions; the very same who never close a session). I do not want to hear any evangelism. Fear not, I do not plan to remove support for multiple sessions (actually, I am more concerned about making them thread safe, if they aren't already), unless there is an unanimous vote for that. Just want to understand the need better.


Regards, Christian ----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubsribe from the list send mail to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr -----------------------------------------------------------------------