Could anyone recommend a class or control I can use to add the ability to send a file using sftp without too much complication to a VFP6 app? The ocx we've using forever only does FTP. I looked at the old version of West Wind Client Tools that works with VFP 6 but it looks like it only does FTP as well.
I haven't used it for SFTP, but the Chilkat COM control has it. https://chilkatsoft.com/
https://www.example-code.com/foxpro/sftp_uploadFile.asp
It looks like SFTP requires a license.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Jeff Roberts Sent: Wednesday, December 01, 2021 8:48 PM To: profoxtech@leafe.com Subject: sftp for vfp6?
Could anyone recommend a class or control I can use to add the ability to send a file using sftp without too much complication to a VFP6 app? The ocx we've using forever only does FTP. I looked at the old version of West Wind Client Tools that works with VFP 6 but it looks like it only does FTP as well.
The free WinSCP application handles FTP, FTPS, SCP, SFTP, WebDAV and S3. It also has a COM-callable .NET assembly that you could use. It's usable from VBScript so I assume you could also use it directly from VFP, or use VBScript or Powershell from VFP etc.
https://winscp.net/eng/docs/library
The free WinSCP application handles FTP, FTPS, SCP, SFTP, WebDAV and
S3. It also has a COM-callable .NET assembly that you could use. It's usable from VBScript so I assume you could also use it directly from VFP, or use VBScript or Powershell from VFP etc.<<
You totally can use WinSCP with VFP. If I get my act together, I'll have a session on this in a future Virtual Fox Fest. The code is basically written. At the pace I'm writing the white paper, it'll be ready in 2028!
To the original poster, there are several VFP only solutions out there with SFTP and VFP. Rick Strahl's tools are one and I think I found one one GitHub as well.
Bill Anderson
On Thu, Dec 2, 2021 at 2:21 AM Alan Bourke alanpbourke@fastmail.fm wrote:
The free WinSCP application handles FTP, FTPS, SCP, SFTP, WebDAV and S3. It also has a COM-callable .NET assembly that you could use. It's usable from VBScript so I assume you could also use it directly from VFP, or use VBScript or Powershell from VFP etc.
https://winscp.net/eng/docs/library
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]
The current version of Westwind Client Tools supports sftp. I'm not sure which version added it.
Richard Kaye (he/him) Senior Vice President, Auction House Systems
o 617 746 9838 f 617 746 9801 invaluable.comhttp://www.invaluable.com/
Please send your support queries to:
RFC3 Auction Systems Support - rfc3support@invaluable.commailto:rfc3support@invaluable.com RFC Auction System Application Support - rfcsupport@invaluable.commailto:rfcsupport@invaluable.com RFC Website Application Support - rfcwebsupport@invaluable.commailto:rfcwebsupport@invaluable.com Invaluable PL Website Support - wlsupport@invaluable.commailto:wlsupport@invaluable.com Sign on to our Service Deskhttps://invaluable.atlassian.net/servicedesk/customer/portal/6/user/login?destination=portal%2F6
[Invaluable]https://www.invaluable.com/ [AuctionZip]https://www.auctionzip.com/
[cid:image003.png@01D7E759.1CD22A40]https://www.invaluable.com/inv/enterprise-software/
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Jeff Roberts Sent: Wednesday, December 1, 2021 8:48 PM To: profoxtech@leafe.com Subject: sftp for vfp6?
Could anyone recommend a class or control I can use to add the ability to send a file using sftp without too much complication to a VFP6 app? The ocx we've using forever only does FTP. I looked at the old version of West Wind Client Tools that works with VFP 6 but it looks like it only does FTP as well.
-- Jeff Roberts | jefflroberts@gmail.commailto:jefflroberts@gmail.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
I use the current version of West Wind, and it absolutely has SFTP. We use it in several of our programs.
On 12/01/21 8:48 PM, Jeff Roberts wrote:
Could anyone recommend a class or control I can use to add the ability to send a file using sftp without too much complication to a VFP6 app? The ocx we've using forever only does FTP. I looked at the old version of West Wind Client Tools that works with VFP 6 but it looks like it only does FTP as well.
Thanks guys! I think chillkat is going to be the easiest to implement and if that doesn't work out I will definitely look into automation with winscp. I've been using West Wind with VFP9. However, this particular app is still compiled in VFP6 for now. The version listed on the West Wind site for use with VFP6 does not appear to support sftp unless I just missed it in the source code. Thanks again! -Jeff
On Thu, Dec 2, 2021 at 8:44 AM Vince Teachout vinny@caracal.net wrote:
I use the current version of West Wind, and it absolutely has SFTP. We use it in several of our programs.
On 12/01/21 8:48 PM, Jeff Roberts wrote:
Could anyone recommend a class or control I can use to add the ability to send a file using sftp without too much complication to a VFP6 app? The
ocx
we've using forever only does FTP. I looked at the old version of West
Wind
Client Tools that works with VFP 6 but it looks like it only does FTP as well.
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Jeff, I wrote a full VFP based FTP class and used it until our FTP Provider demanded we go SFTP so I tried many solutions and the end result was the purchase of Chilkat which is simple, fast and very flexible.... and includes many other features/classes you can use. I am now embarking on using Rest API for use in interfacing into our MRP/ERP system.
I certainly recommend the software, but note that some of the VFP examples are a mixture of VFP and C# and you may well need to do some code manipulation to get them working!
Dave Crozier Software Development Manager Flexipol Packaging Ltd.
Mob: 07967 671080
﴾⚆ᨎ⚆﴿
Flexipol® Packaging Ltd T 01706 222 792 E DCrozier@flexipol.co.uk W https://www.flexipol.co.uk/ Follow us: Unit 14 Bentwood Road, Carrs Industrial Estate, Haslingden, Lancashire, BB4 5HH
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Terms & Conditions: Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time -----Original Message----- From: ProFox profox-bounces@leafe.com On Behalf Of Jeff Roberts Sent: 02 December 2021 15:03 To: Vince Teachout vinny@caracal.net Cc: ProFox Email List profox@leafe.com Subject: Re: sftp for vfp6?
Thanks guys! I think chillkat is going to be the easiest to implement and if that doesn't work out I will definitely look into automation with winscp. I've been using West Wind with VFP9. However, this particular app is still compiled in VFP6 for now. The version listed on the West Wind site for use with VFP6 does not appear to support sftp unless I just missed it in the source code. Thanks again! -Jeff
On Thu, Dec 2, 2021 at 8:44 AM Vince Teachout vinny@caracal.net wrote:
I use the current version of West Wind, and it absolutely has SFTP. We use it in several of our programs.
On 12/01/21 8:48 PM, Jeff Roberts wrote:
Could anyone recommend a class or control I can use to add the ability to send a file using sftp without too much complication to a VFP6 app? The
ocx
we've using forever only does FTP. I looked at the old version of West
Wind
Client Tools that works with VFP 6 but it looks like it only does FTP as well.
-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
-- Jeff Roberts | jefflroberts@gmail.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]