login about faq

Are there any methods to get the properties of the remote server, like server software/OS/version/ SSH version/encrypt methods?

I do not see any.

WinSCP displays stuff like this in their log. Thanks

asked Jan 10 '14 at 15:02

cdlvj130's gravatar image

cdlvj130
9691017


No, but after calling the Connect method, it will be in the LastErrorXml under the "serverVersion" tag.

link

answered Jan 17 '14 at 13:20

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Thanks, will do that. What is your opinion of transfering sftp from servers that have old ssh libs? It that really a safe transfer? Thanks

link

answered Jan 31 '14 at 09:13

cdlvj130's gravatar image

cdlvj130
9691017

on the XML part there is no simple example to retrieve and element.

my $xml = new chilkat::CkXml(); my $rc = $xml->LoadXml($f->serverInfo);

this is Perl, how do you simply go after <clientidentifier>

<clientidentifier>SSH-2.0-PuTTY_Local:_May_11_2009_17:22:38</clientidentifier>

link

answered Jan 31 '14 at 12:33

cdlvj130's gravatar image

cdlvj130
9691017

None of the XML routines work. Some of the methods do not exist, and the finds return NULL.

What is the trick on getting these to work?

link

answered Jan 31 '14 at 14:46

cdlvj130's gravatar image

cdlvj130
9691017

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×201
×3
×2

Asked: Jan 10 '14 at 15:02

Seen: 1,172 times

Last updated: Jan 31 '14 at 14:46

powered by OSQA