I have a question regarding FTP Timeout.
During FTP session, if some problems has happened within the IP network,
and if such problems has lasted for a certain duration of time,
FTP server (ftpd) close the session, however it SEEMS that FTP client
(ftp) has no way to detect that the session is out of service UNTIL
FTP client tries another command after the network has been recovered.
As far as we have examined, before the network is recovered,
FTP client even needs to be killed by hand.
From the point of TCP/IP protocol, both TCP server and client is able
to detect how long any packets has not been transmitted during its
TCP session and then to close the session if no transmission is
done for a duration of time, which was specified by Time-out parameter.
It seems extremely weird that FTP client has no way to close the
session at its own convenience.
I would like to know the way to make FTP client CLOSE the session
or to make FTP find the fact that the concerned file transmission
has failed. Anybody can help me out? Await for your response!