EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTP

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#16363
Posted: 05/06/2011 00:23:45
by Christian (Standard support level)
Joined: 05/03/2011
Posts: 17

All is ok now thank you for all
#16364
Posted: 05/06/2011 00:31:54
by Christian (Standard support level)
Joined: 05/03/2011
Posts: 17

I'd like to buy the component TElSimpleSftpClient what should I do?
#16365
Posted: 05/06/2011 00:44:22
by Eugene Mayevski (EldoS Corp.)

Please visit the calculator page and choose the needed options there (you will need SFTPBlackbox client package in the package selector). Next, click the button to calculate the price. When the price is show, Order Now button will appear and you can proceed with ordering.


Sincerely yours
Eugene Mayevski
#16366
Posted: 05/06/2011 00:58:44
by Christian (Standard support level)
Joined: 05/03/2011
Posts: 17

if i buy VCL Edition - SftpblackboxClient - in House - 1 developper for 294 $ is right?
#16367
Posted: 05/06/2011 01:17:55
by Eugene Mayevski (EldoS Corp.)

yes, that is correct.


Sincerely yours
Eugene Mayevski
#16369
Posted: 05/06/2011 07:03:17
by Christian (Standard support level)
Joined: 05/03/2011
Posts: 17

hi Eugene,

I tested the communication with the software WinSCP and parameters are all ok.

but with my development I get an error 10058. I searched on the internet error 10058. i already Check if OnError, OnKeyValidate, OnAuthenticationFailed, OnAuthenticationSuccess events are fired.

Best regards

Christian
#16370
Posted: 05/06/2011 07:20:27
by Vsevolod Ievgiienko (EldoS Corp.)

Could you try to connect using our demo and post its log here.
#16371
Posted: 05/06/2011 07:23:26
by Vsevolod Ievgiienko (EldoS Corp.)

You should also read this article: http://www.eldos.com/sbb/articles/4796.php
#16372
Posted: 05/06/2011 07:52:18
by Christian (Standard support level)
Joined: 05/03/2011
Posts: 17

Here is the log as an attachment


#16373
Posted: 05/06/2011 07:53:01
by Christian (Standard support level)
Joined: 05/03/2011
Posts: 17

procedure TfrmMain.Connect;
var
Key: TElSSHKey;
begin
if SftpClient.Active then
begin
MessageDlg('Serveur déjà Connecté connected', mtInformation, [mbOk], 0);
Exit;
end;

if frmConnProps.ShowModal = mrOk then
begin
if Pos(':', frmConnProps.editHost.Text) > 0 then
begin
SftpClient.Address := Copy(frmConnProps.editHost.Text, 1, Pos(':', frmConnProps.editHost.Text) - 1);
SftpClient.Port := StrToIntDef(Copy(frmConnProps.editHost.Text, Pos(':', frmConnProps.editHost.Text) + 1, Length(frmConnProps.editHost.Text)), 22);
end
else
begin
SftpClient.Address := frmConnProps.editHost.Text;
SftpClient.Port := StrToInt(frmConnProps.editPort.Text);
end;

// Enable compression
SftpClient.CompressionAlgorithms[SSH_CA_ZLIB] := True;

SftpClient.Username := frmConnProps.editUsername.Text;
SftpClient.Password := frmConnProps.editPassword.Text;


FKeyStorage.Clear;
Key := TElSSHKey.Create;

if (frmConnProps.edPrivateKey.Text <> '') and FileExists(frmConnProps.edPrivateKey.Text) and
(Key.LoadPrivateKey(frmConnProps.edPrivateKey.Text) = 0) then
begin
FKeyStorage.Add(Key);
SftpClient.AuthenticationTypes := SftpClient.AuthenticationTypes or SSH_AUTH_TYPE_PUBLICKEY;
end
else
SftpClient.AuthenticationTypes := SftpClient.AuthenticationTypes and not SSH_AUTH_TYPE_PUBLICKEY;

Key.Free;

Log('Connecting to ' + SftpClient.Address);
try
SftpClient.Open;
except
on E: Exception do
begin
Log('Sftp connection failed with message [' + E.Message + ']', true);
Log('If you have ensured that all connection parameters are correct and you still can''t connect,', true);
Log('please contact EldoS support as described on http://www.eldos.com/sbb/support.php', true);
Log('Remember to provide details about the error that happened.', true);
if Length(SftpClient.ServerSoftwareName) > 0 then
Log('Server software identified itself as: ' + SftpClient.ServerSoftwareName, true);
SftpClient.Close;
Exit;
end;
end;
Log('Sftp connection established');
FCurrentDir := '.';
Refresh;
end;
end;
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 6641 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!