TScIdIOHandler and Indy FTP Demos

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
MikeD
Posts: 7
Joined: Fri 09 Oct 2015 10:48

TScIdIOHandler and Indy FTP Demos

Post by MikeD » Tue 02 Apr 2019 14:12

I installed the trial version to see if I can get Indy FTP to work with sFTP.
I'm using Delphi 10.2.

I'm looking in the Demos folder and I don't see any demos that use TScIdIOHandler. There are files in the SecureBridge for RAD Studio 10.2\Demos\Indy10\ folder, but they are just for the component.

Should there be a demo that shows how to connect the TScIdIOHandler to the TIdFTP?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TScIdIOHandler and Indy FTP Demos

Post by ViktorV » Tue 02 Apr 2019 15:24

Devart SecureBridge Components for Indy include the TScIdIOHandler component, which serves as an adapter between SecureBridge and Indy to create a secure SSH.
But the SFTP protocol is not derived from the FTP protocol, and they are independent protocols. Therefore, you cannot use TScIdIOHandler with the TIdFTP component to connect to an SFTP server.
But, you can use our TScSFTPClient component to connect and work with the SFTP server. To test the required functionality, you can use our demo SFTPClient project in the% SecureBridgeDemos% \ Demos \ SFTPClient directory. % SecureBridgeDemos% is the SecureBridge Demo projects installation path on your computer.

MikeD
Posts: 7
Joined: Fri 09 Oct 2015 10:48

Re: TScIdIOHandler and Indy FTP Demos

Post by MikeD » Tue 02 Apr 2019 15:31

I still don't understand why your product mentions Indy if you have to use your ftp control.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TScIdIOHandler and Indy FTP Demos

Post by ViktorV » Wed 03 Apr 2019 09:07

As it is stated in the SecureBridge documentation: https://www.devart.com/sbridge/docs/ove ... bridge.htm, https://www.devart.com/sbridge/docs/com ... bridge.htm to work with FTP, you need to use TScSFTPClient (SFTP protocol), and TScFTPClient (FTP/FTPS protocols). It also states that о TScIdIOHandler provides easy integration with Indy components to protect data transferred through the network by Indy. Also, the documentation has no indication of using Indy components for working with FTP.

MikeD
Posts: 7
Joined: Fri 09 Oct 2015 10:48

Re: TScIdIOHandler and Indy FTP Demos

Post by MikeD » Fri 12 Apr 2019 13:05

> As it is stated in the SecureBridge documentation: https://www.devart.com/sbridge/docs/ove ... bridge.htm, https://www.devart.com/sbridge/docs/com ... bridge.htm to work with FTP, you need to use TScSFTPClient (SFTP protocol), and TScFTPClient (FTP/FTPS protocols).

No, it doesn't state that you need to use it, it's simply listed as a component.

It might be obvious to you, or someone who fully understands how these components all work together, but for someone who doesn't, it's not obvious.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TScIdIOHandler and Indy FTP Demos

Post by ViktorV » Fri 12 Apr 2019 13:17

Thank you for the interest to our product and your contribution in our product development. We will consider the possibility of adding the example you've provided in the SecureBridge demo.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.

Post Reply