|
@@ -3597,12 +3597,6 @@ void __fastcall TFTPFileSystem::HandleReplyStatus(UnicodeString Response)
|
|
FTerminal->LogEvent(L"The server requires TLS/SSL handshake on transfer connection before responding 1yz to STOR/APPE");
|
|
FTerminal->LogEvent(L"The server requires TLS/SSL handshake on transfer connection before responding 1yz to STOR/APPE");
|
|
FTransferActiveImmediately = true;
|
|
FTransferActiveImmediately = true;
|
|
}
|
|
}
|
|
- // The FWelcomeMessage usually contains "Microsoft FTP Service" but can be empty
|
|
|
|
- if (ContainsText(FSystem, L"Windows_NT"))
|
|
|
|
- {
|
|
|
|
- FTerminal->LogEvent(L"The server is probably running Windows, assuming that directory listing timestamps are affected by DST.");
|
|
|
|
- FWindowsServer = true;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else if (FLastCommand == PASS)
|
|
else if (FLastCommand == PASS)
|
|
@@ -3628,6 +3622,12 @@ void __fastcall TFTPFileSystem::HandleReplyStatus(UnicodeString Response)
|
|
FTerminal->LogEvent(L"Server is known not to support LIST -a");
|
|
FTerminal->LogEvent(L"Server is known not to support LIST -a");
|
|
FListAll = asOff;
|
|
FListAll = asOff;
|
|
}
|
|
}
|
|
|
|
+ // The FWelcomeMessage usually contains "Microsoft FTP Service" but can be empty
|
|
|
|
+ if (ContainsText(FSystem, L"Windows_NT"))
|
|
|
|
+ {
|
|
|
|
+ FTerminal->LogEvent(L"The server is probably running Windows, assuming that directory listing timestamps are affected by DST.");
|
|
|
|
+ FWindowsServer = true;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|