Page 1 of 1
TScSFTPServer documentation missing
Posted: Tue 11 Feb 2014 03:01
by mickyj
Hi, the online help and downloadable help don't appear to have any documentation for TScSFTPServer (they both point to TScSFTPServerProperties).
Re: TScSFTPServer documentation missing
Posted: Tue 11 Feb 2014 10:56
by Dimon
Unfortunately, now SecureBridge does not have any documentation about SFTP server. We plan to add it in the next version.
But TScSFTPServer implements standard SFTP protocol and you can find answers on many of the questions in the documentation on this protocol.
Re: TScSFTPServer documentation missing
Posted: Fri 13 Jan 2017 21:10
by marvincolgin
I'm also looking for documentation on TScSFTPServer, but I can't seem to locate any documentation.
I'm specifically looking for documentation on the OnOpenDirectory, OnReadDirectory and OnGetAbsolutePath; as I'm evaluating the product to see if I can customize the directory-listing that is returned to the sftpclient and create the concept of "virtualized folders" that appear in a directory-listing as being in the path of "/", but in reality jump off to different areas on the hosting computer.
Example:
Directory of "/":
afile.txt
afile2.txt
afolder <dir>
afolder2 <virtual>
Where "/" is "c:\ftproot\myuser" and "afolder2" would actually point to "i:\my\custom\dir". If a CWD was made into "afolder2", they would see the contents of "i:\my\custom\dir" as "/afolder2". If they performed a "CWD .." from "/afolder2", I would resolve the parent directory of "/" back to "c:\ftproot\myuser"
I'm using SecureBridge 7.2 for Delphi XE2 demo (sbridge6.exe) from:
http://www.devart.com/sbridge/download.html
Re: TScSFTPServer documentation missing
Posted: Mon 16 Jan 2017 11:45
by ViktorV
Unfortunately, now SecureBridge does not have any documentation about SFTP server. We plan to add it in the next version.
To solve your task you can use the specified event handlers to implement the specified functionality.