SFTP - URL Support

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
enemyleft
Posts: 4
Joined: Thu 03 Apr 2014 09:19

SFTP - URL Support

Post by enemyleft » Thu 03 Apr 2014 11:29

Hello

Are there some methods in SecureBridge (TScSSHClient / TScSFTPClient) which I can use to parse an SFTP URL so that I can connect to a SFTP Server without any further Info ???

Example:
sftp://user@host/dir/path/file.txt

Or:
sftp://user:password@host/dir/path/file.txt

// Yes. I know that the option with password is insecure ;-)

Or is it up to me to parse the string and pass it to the propper Component -> TScSSHClient ?

Regards
Raphael

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

Re: SFTP - URL Support

Post by Dimon » Fri 04 Apr 2014 14:54

Unfortunately, SecureBridge doesn't support such functionality. You should parse a URL connection string by yourself and pass it to the TScSSHClient properties.

enemyleft
Posts: 4
Joined: Thu 03 Apr 2014 09:19

Re: SFTP - URL Support

Post by enemyleft » Tue 22 Apr 2014 07:15

Thank you for the answer.
Cheers.

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

Re: SFTP - URL Support

Post by Dimon » Tue 22 Apr 2014 07:49

Feel free to contact us if you have any further questions.

Post Reply