Page 1 of 1
					
				TransferType
				Posted: Mon  20 Dec 2010 13:24
				by ALBERTOMELO
				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)  

 
			
					
				
				Posted: Wed  22 Dec 2010 09:04
				by Dimon
				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.
			 
			
					
				
				Posted: Wed  22 Dec 2010 13:31
				by ALBERTOMELO
				Thanks for answer