TransferType

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
ALBERTOMELO
Posts: 2
Joined: Wed 15 Dec 2010 12:34

TransferType

Post by ALBERTOMELO » Mon 20 Dec 2010 13:24

I want to remove the component TIdFTP and instead use the TScSFTPClient, but I am encountering a problem when set the property TranferType in which, depending on a configuration, will be selected ftASCII or ftBynary.
How can I tell the component ScIdSFTP this property?

(Sorry my bad English) :D

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 22 Dec 2010 09:04

The point is that the TIdFTP component works with FTP protocol, and TScSFTPClient works with SFTP protocol. SFTP protocol is not derived from the FTP protocol, and it is an independent protocol. Therefore you can not match all settings of FTP client with settings of SFTP client.

To learn how to get a directory list, download and upload files you can refer to the SFTPClient demo of SecureBridge.

ALBERTOMELO
Posts: 2
Joined: Wed 15 Dec 2010 12:34

Post by ALBERTOMELO » Wed 22 Dec 2010 13:31

Thanks for answer

Post Reply