Hi
I'm trying out SecureBridge, expecially SFTP.
I have a few questions
1. How can I implement an progress bar and stop functionality with sftp (nonblocking) operation.
2. How can I check if a file exists on the server (on a specific directory)
Thanks
Bora Aydemir
A few questions (SFTP)
1. You can proccess the TScSFTPClient.OnData event. And you can generate an exception when you want to abort file dowloading.
2. You can use the ReadDirectory method to retrieve a directory listing. For every received file or directory name the OnDirectoryList event is generated.
Also you can try to execute the OpenFile method with the fmOpenExisting flag. If the specified file doesn't exist, the server returns an error.
2. You can use the ReadDirectory method to retrieve a directory listing. For every received file or directory name the OnDirectoryList event is generated.
Also you can try to execute the OpenFile method with the fmOpenExisting flag. If the specified file doesn't exist, the server returns an error.
The onData event isn't triggered? I tried blocking and nonblocking. Surely I'm doing something wrong but what?
I have another question about ssh shell. I want to connect to a a ssh server (like putty) and send commands like cd, unzip file, execute a batch file etc. I looked thru the SSHClient demo but couldn't manage to find a way? Can I do this with SecureBridge?
Thanks
Bora Aydemir
I have another question about ssh shell. I want to connect to a a ssh server (like putty) and send commands like cd, unzip file, execute a batch file etc. I looked thru the SSHClient demo but couldn't manage to find a way? Can I do this with SecureBridge?
Thanks
Bora Aydemir
You can look at the example of using command line in the Shell tab of the SSHClientApp demo.borax1974 wrote:I have another question about ssh shell. I want to connect to a a ssh server (like putty) and send commands like cd, unzip file, execute a batch file etc. I looked thru the SSHClient demo but couldn't manage to find a way? Can I do this with SecureBridge?