Page 1 of 1

SFTP - URL Support

Posted: Thu 03 Apr 2014 11:29
by enemyleft
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

Re: SFTP - URL Support

Posted: Fri 04 Apr 2014 14:54
by Dimon
Unfortunately, SecureBridge doesn't support such functionality. You should parse a URL connection string by yourself and pass it to the TScSSHClient properties.

Re: SFTP - URL Support

Posted: Tue 22 Apr 2014 07:15
by enemyleft
Thank you for the answer.
Cheers.

Re: SFTP - URL Support

Posted: Tue 22 Apr 2014 07:49
by Dimon
Feel free to contact us if you have any further questions.