|
@@ -375,6 +375,7 @@ void __fastcall TFTPFileSystem::Open()
|
|
FWindowsServer = false;
|
|
FWindowsServer = false;
|
|
FMVS = false;
|
|
FMVS = false;
|
|
FVMS = false;
|
|
FVMS = false;
|
|
|
|
+ FFileZilla = false;
|
|
FTransferActiveImmediately = (Data->FtpTransferActiveImmediately == asOn);
|
|
FTransferActiveImmediately = (Data->FtpTransferActiveImmediately == asOn);
|
|
FVMSAllRevisions = Data->VMSAllRevisions;
|
|
FVMSAllRevisions = Data->VMSAllRevisions;
|
|
|
|
|
|
@@ -637,13 +638,7 @@ void __fastcall TFTPFileSystem::CollectUsage()
|
|
FTerminal->CollectTlsUsage(TlsVersionStr);
|
|
FTerminal->CollectTlsUsage(TlsVersionStr);
|
|
}
|
|
}
|
|
|
|
|
|
- // 220-FileZilla Server version 0.9.43 beta
|
|
|
|
- // 220-written by Tim Kosse ([email protected])
|
|
|
|
- // 220 Please visit http://sourceforge.net/projects/filezilla/
|
|
|
|
- // SYST
|
|
|
|
- // 215 UNIX emulated by FileZilla
|
|
|
|
- // (Welcome message is configurable)
|
|
|
|
- if (ContainsText(FSystem, L"FileZilla"))
|
|
|
|
|
|
+ if (FFileZilla)
|
|
{
|
|
{
|
|
FTerminal->Configuration->Usage->Inc(L"OpenedSessionsFTPFileZilla");
|
|
FTerminal->Configuration->Usage->Inc(L"OpenedSessionsFTPFileZilla");
|
|
}
|
|
}
|
|
@@ -2840,6 +2835,10 @@ int __fastcall TFTPFileSystem::GetOptionVal(int OptionID) const
|
|
Result = FFileTransferNoList ? TRUE : FALSE;
|
|
Result = FFileTransferNoList ? TRUE : FALSE;
|
|
break;
|
|
break;
|
|
|
|
|
|
|
|
+ case OPTION_MPEXT_COMPLETE_TLS_SHUTDOWN:
|
|
|
|
+ Result = FFileZilla ? FALSE : TRUE;
|
|
|
|
+ break;
|
|
|
|
+
|
|
default:
|
|
default:
|
|
DebugFail();
|
|
DebugFail();
|
|
Result = FALSE;
|
|
Result = FALSE;
|
|
@@ -3493,6 +3492,16 @@ void __fastcall TFTPFileSystem::HandleReplyStatus(UnicodeString Response)
|
|
FTerminal->LogEvent(L"Server is known to require use of relative paths");
|
|
FTerminal->LogEvent(L"Server is known to require use of relative paths");
|
|
FWorkFromCwd = asOn;
|
|
FWorkFromCwd = asOn;
|
|
}
|
|
}
|
|
|
|
+ // 220-FileZilla Server 1.0.1
|
|
|
|
+ // 220 Please visit https://filezilla-project.org/
|
|
|
|
+ // SYST
|
|
|
|
+ // 215 UNIX emulated by FileZilla
|
|
|
|
+ // (Welcome message is configurable)
|
|
|
|
+ if (ContainsText(FSystem, L"FileZilla"))
|
|
|
|
+ {
|
|
|
|
+ FTerminal->LogEvent(L"FileZilla server detected.");
|
|
|
|
+ FFileZilla = true;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|