|
@@ -456,6 +456,10 @@ bool TClientSession::OnDisconnected()
|
|
|
{
|
|
|
if (FCDSCtlr)
|
|
|
{
|
|
|
+ if (FCDSCtlr->IsVideo) {
|
|
|
+ FCDSCtlr->InitFtpFileInfo(); // TODO: FTP 다운로드 정보를 초기화 한다.
|
|
|
+ }
|
|
|
+
|
|
|
FCDSCtlr->Server.DisconnectTm = Now().FormatString("yyyy-MM-dd hh:nn:ss");
|
|
|
FCDSCtlr->Server.commState = comm_close;
|
|
|
FCDSCtlr->FSession = NULL;
|