I recently had need to add SFTP support to an older application that is still maintained in Delphi XE (because of a couple of major component sets it uses).
SecureBridge installs in XE, so didn't think it would be a problem. But several of the events in the ScSFTPClient component raise an error when I double-click them to create an event-handler. The error is: "Expected '>' but '.' found."
The problem is that an XE2 and newer uses dotted-namespace unit names and XE does not. For example, the handler for OnDirectoryList would be this:
Code: Select all
procedure ScSFTPClientDirectoryList(Sender: TObject; const Path: string; const Handle: TArray<System.Byte>; FileInfo: TScSFTPFileInfo; EOF: Boolean);
Will there be an update to fix this? Is there a work-around in the meantime?
Thanks,
David.