Index
2013-07-11 01:19Marius : How to use libssh in Foxpro applications?
2013-07-12 08:28Dave Thayer : Re: How to use libssh in Foxpro applications?
2013-07-12 09:09Alan Bourke : Re: How to use libssh in Foxpro applications?
2013-07-12 09:28Dave Crozier : RE: How to use libssh in Foxpro applications?
2013-07-12 09:32Stephen Russell : Re: How to use libssh in Foxpro applications?
2013-07-12 09:36jerry foote : RE: How to use libssh in Foxpro applications?
2013-07-12 10:04MB Software Solutions General Account : RE: How to use libssh in Foxpro applications?
2013-07-12 10:30jerry foote : RE: How to use libssh in Foxpro applications?
2013-07-12 11:15MB Software Solutions General Account : RE: How to use libssh in Foxpro applications?
2013-07-12 11:21Andrew Stirling : Re: How to use libssh in Foxpro applications?
Back to top
How to use libssh in Foxpro applications?

Author: Marius

Posted: 2013-07-11 01:19:29   Link

Hello,

I want to use ssh embedded in my client-server applications, so that I secure

the connections to the databasess through ssh tunnels.

I installed libssh from http://www.libssh.org/ and I have "ssh.dll" in

C:\Program Files\libssh\bin

I think it is a C dll and I don't know if I can use it directly.

Does anyone have experience with libssh? Or with other embedded ssh client

solutions?

Thank you

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/loom.20130711T081917-818@post.gmane.org

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Marius
Back to top
Re: How to use libssh in Foxpro applications?

Author: Dave Thayer

Posted: 2013-07-12 08:28:57   Link

On Thu, Jul 11, 2013 at 12:19 AM, Marius <mmarius28@yahoo.com> wrote:

> Hello,

> I want to use ssh embedded in my client-server applications, so that I secure

> the connections to the databasess through ssh tunnels.

>

> I installed libssh from http://www.libssh.org/ and I have "ssh.dll" in

> C:\Program Files\libssh\bin

> I think it is a C dll and I don't know if I can use it directly.

>

> Does anyone have experience with libssh? Or with other embedded ssh client

> solutions?

I can't help you out with libssh specifically, but I thought I should

point out that if you don't mind running an external command, the

PuTTY SSH client package includes a command line utility plink.exe,

which would do what you want with a minimum of fuss.

<http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html> or

<http://tinyurl.com/2r4w>

HTH

dt

--

Dave Thayer

Denver, CO

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAAo+qoVC2nLTECmCxB8qsaO5QepFKofV_puC8d+tOCh7arRcug@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Dave Thayer
Back to top
Re: How to use libssh in Foxpro applications?

Author: Alan Bourke

Posted: 2013-07-12 09:09:38   Link

To use that you would have to get down and dirty with the libSSH docs

and the 'declare dll' command in Visual FoxPro.

Assuming your time costs money I would imagine it would be a lot

cheaper, therefore, to use an ActiveX control like the one from Chillkat

(http://www.chilkatsoft.com/ssh-sftp-activex.asp) which not only works

with VFP but has samples.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1373638178.16011.140661254904389.15DAE69D@webmail.messagingengine.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Alan Bourke
Back to top
RE: How to use libssh in Foxpro applications?

Author: Dave Crozier

Posted: 2013-07-12 09:28:29   Link

I heartily second the Chilkat suggestion from Alan, been down the DLL route and gave it up as it doesn't integrate well with VFP. Been using the Chillkat ActiveX for over 3 years now in various configurations and never had a problem with it. Well worth the small amount of money. Standard FTP is no problem and there is a n FTP class entirely in VFP that I posted onto Ed's board.

Dave

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke

Sent: 12 July 2013 15:10

To: profox@leafe.com

Subject: Re: How to use libssh in Foxpro applications?

To use that you would have to get down and dirty with the libSSH docs and the 'declare dll' command in Visual FoxPro.

Assuming your time costs money I would imagine it would be a lot cheaper, therefore, to use an ActiveX control like the one from Chillkat

(http://www.chilkatsoft.com/ssh-sftp-activex.asp) which not only works with VFP but has samples.

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB2076E0D8F@EX2010-A-FPL.FPL.LOCAL

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Dave Crozier
Back to top
Re: How to use libssh in Foxpro applications?

Author: Stephen Russell

Posted: 2013-07-12 09:32:46   Link

On Fri, Jul 12, 2013 at 9:09 AM, Alan Bourke <alanpbourke@fastmail.fm>wrote:

> To use that you would have to get down and dirty with the libSSH docs

> and the 'declare dll' command in Visual FoxPro.

>

> Assuming your time costs money I would imagine it would be a lot

> cheaper, therefore, to use an ActiveX control like the one from Chillkat

> (http://www.chilkatsoft.com/ssh-sftp-activex.asp) which not only works

> with VFP but has samples.

> --------

A heads up on that dll.

<http://api.libssh.org/master/libssh_tutorial.html>

--

Stephen Russell

Sr. Analyst

Ring Container Technology

Oakland TN

901.246-0159 cell

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAJidMYKmdv2f5V4Qpy09S=pZAq3jehrTaoLhJ0aiY71xWp+5NA@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Stephen Russell
Back to top
RE: How to use libssh in Foxpro applications?

Author: jerry foote

Posted: 2013-07-12 09:36:00   Link

Chilkat also has a ssh active x that I have used, it was easy to implement

and works great.

Jerry

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Dave Crozier

Sent: Friday, July 12, 2013 9:28 AM

To: ProFox Email List

Subject: RE: How to use libssh in Foxpro applications?

I heartily second the Chilkat suggestion from Alan, been down the DLL route

and gave it up as it doesn't integrate well with VFP. Been using the

Chillkat ActiveX for over 3 years now in various configurations and never

had a problem with it. Well worth the small amount of money. Standard FTP is

no problem and there is a n FTP class entirely in VFP that I posted onto

Ed's board.

Dave

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Alan Bourke

Sent: 12 July 2013 15:10

To: profox@leafe.com

Subject: Re: How to use libssh in Foxpro applications?

To use that you would have to get down and dirty with the libSSH docs and

the 'declare dll' command in Visual FoxPro.

Assuming your time costs money I would imagine it would be a lot cheaper,

therefore, to use an ActiveX control like the one from Chillkat

(http://www.chilkatsoft.com/ssh-sftp-activex.asp) which not only works with

VFP but has samples.

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/B6E3DD244DBC48AA9970A7A31E75C28D@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 jerry foote
Back to top
RE: How to use libssh in Foxpro applications?

Author: MB Software Solutions General Account

Posted: 2013-07-12 10:04:23   Link

On Fri, July 12, 2013 10:36 am, jerry foote wrote:

> Chilkat also has a ssh active x that I have used, it was easy to

> implement and works great. Jerry

Jerry,

What'd you use it for?

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/483500382079d60297231714947eec57.squirrel@webmail.dssco.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 MB Software Solutions General Account
Back to top
RE: How to use libssh in Foxpro applications?

Author: jerry foote

Posted: 2013-07-12 10:30:12   Link

I was asked to fpt files to a customer's customer server, I then found I had

to use ssh which I learned was different from fpt. They both transfer a

file.

Jerry

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of MB Software

Solutions General Account

Sent: Friday, July 12, 2013 10:04 AM

To: ProFox Email List

Subject: RE: How to use libssh in Foxpro applications?

On Fri, July 12, 2013 10:36 am, jerry foote wrote:

> Chilkat also has a ssh active x that I have used, it was easy to

> implement and works great. Jerry

Jerry,

What'd you use it for?

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/B129DF35984D4CCC92844CD1FA13FB6A@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 jerry foote
Back to top
RE: How to use libssh in Foxpro applications?

Author: MB Software Solutions General Account

Posted: 2013-07-12 11:15:46   Link

What about SFTP (Secure FTP)?

On Fri, July 12, 2013 11:30 am, jerry foote wrote:

> I was asked to fpt files to a customer's customer server, I then found I

> had to use ssh which I learned was different from fpt. They both transfer

> a file. Jerry

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/d9ce3ab964d5fc451f454b10c334f9b6.squirrel@webmail.dssco.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 MB Software Solutions General Account
Back to top
Re: How to use libssh in Foxpro applications?

Author: Andrew Stirling

Posted: 2013-07-12 11:21:24   Link

Hi Jerry

Craig Boyd's VFPConnection does SSH transfers

http://www.sweetpotatosoftware.com/spsblog/2008/12/05/VFPConnectionUpdateHTTPPostFTPCommandsAndMore.aspx

FTPSPut(cSource, cDestinationURL[, cProgressCallback[, cTraceCallback]])

This function provides the ability to upload a file to an FTP site that

provides FTP over Secure Sockets Layer (SSL)

Kind regards

Andrew Stirling

I was asked to fpt files to a customer's customer server, I then found I

had to use ssh which I learned was different from fpt. They both

transfer a file.

Jerry

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/51E02D04.2000607@calcpay.co.uk

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Andrew Stirling