Prechádzať zdrojové kódy

PSftpPath is not used

Source commit: 54e4ba9420e3eeb7a4a69eb7862e3264a2727459
Martin Prikryl 8 rokov pred
rodič
commit
29a71f2802

+ 0 - 1
source/windows/GUIConfiguration.cpp

@@ -565,7 +565,6 @@ void __fastcall TGUIConfiguration::Default()
   FDefaultPuttyPathOnly = IncludeTrailingBackslash(ProgramsFolder) + L"PuTTY\\" + OriginalPuttyExecutable;
   FDefaultPuttyPath = L"%PROGRAMFILES%\\PuTTY\\" + OriginalPuttyExecutable;
   FPuttyPath = FormatCommand(FDefaultPuttyPath, L"");
-  PSftpPath = FormatCommand(L"%PROGRAMFILES%\\PuTTY\\psftp.exe", L"");
   FPuttyPassword = false;
   FTelnetForFtpInPutty = true;
   FPuttySession = L"WinSCP temporary session";

+ 0 - 2
source/windows/GUIConfiguration.h

@@ -159,7 +159,6 @@ private:
   bool FContinueOnError;
   bool FConfirmCommandSession;
   UnicodeString FPuttyPath;
-  UnicodeString FPSftpPath;
   bool FPuttyPassword;
   bool FTelnetForFtpInPutty;
   UnicodeString FPuttySession;
@@ -265,7 +264,6 @@ public:
   __property TObjectList * Locales = { read = GetLocales };
   __property UnicodeString PuttyPath = { read = FPuttyPath, write = FPuttyPath };
   __property UnicodeString DefaultPuttyPath = { read = FDefaultPuttyPath };
-  __property UnicodeString PSftpPath = { read = FPSftpPath, write = FPSftpPath };
   __property bool PuttyPassword = { read = FPuttyPassword, write = FPuttyPassword };
   __property bool TelnetForFtpInPutty = { read = FTelnetForFtpInPutty, write = FTelnetForFtpInPutty };
   __property UnicodeString PuttySession = { read = FPuttySession, write = FPuttySession };