Dear Sirs:
This is Edward K. Marois from Realty Information Systems writing.
I have been tasked with getting WinSCP/SFTP/WinSCPnet.dll up and running.
I see on your web site that SFTP is going to be avaliable in the next version of the .NETBRIDGE
Do you have any idea when this will be avaliable
or
any suggetion how to reach WinSCP from Visual FoxPro.
Dear Rick:
I downloaded the latest version of the .DOTNETBIRIDGE and attempted to update all the files to the best of my ability
I added the code to my program
PROCEDURE NCB_WINSC PARAMETERS mNONE AS String
#INCLUDE WCONNECT.h
SET PROCEDURE TO wwUtils ADDITIVE ! SET PROCEDURE TO wwUtils ADDITIVE
SET PROCEDURE TO wwEval ADDITIVE
SET PROCEDURE TO CodeBlockClass ADDITIVE
SET CLASSLIB TO wwIPStuff ADDITIVE
SET CLASSLIB TO wwXML ADDITIVE
SET PROCEDURE TO wwAPI ADDITIVE
SET PROCEDURE TO wwHTTP ADDITIVE SET PROCEDURE TO wwFtp ADditive
loFtp = CREATEOBJECT("wwSftp") loFtp.nFtpPort = 23
lcHost = "127.0.0.1" lnPort = 23 lcUsername = "tester" lcPassword = "password"
And it crashes with 'Class Definition WWSFTP is not found'
I did have to find some of the above programs and .VCX and .VCT files from older versions.
The documentation on the web is clearly covering all the features, what are the minimum files needed to get this running and what am I doing work ???
Dear Rick:
I added in DO wwClient and it started working
Please ignore last message.
Your the best ...
Dear Rick:
I am getting close
loFtp = CREATEOBJECT("wwSftp")
is run and the bellow message appears
Please advise ...
Dear Rick:
I down loaded the demo for the latest update and distuibuted the .DLLs and .VCX to the bet of my ability I added in the bellow code and got the above error
Do you have any suggestions ???
do wwDotNetBridge LOCAL loBridge as wwDotNetBridge loBridge = CreateObject("wwDotNetBridge","V4")
DO wwClient
#INCLUDE WCONNECT.h
SET PROCEDURE TO wwUtils ADDITIVE ! SET PROCEDURE TO wwUtils ADDITIVE
SET PROCEDURE TO wwEval ADDITIVE
SET PROCEDURE TO CodeBlockClass ADDITIVE
SET CLASSLIB TO wwIPStuff ADDITIVE
- SET CLASSLIB TO wwXML ADDITIVE
SET PROCEDURE TO wwAPI ADDITIVE
SET PROCEDURE TO wwHTTP ADDITIVE SET PROCEDURE TO wwFtp ADditive
! =MESSAGEBOX("1") loFtp = CREATEOBJECT("wwSftp")
You need to deploy the renci.sshNet.dll
along with wwDotnetBridge.dll
. In fact, you should deploy all the DLLs from the Web Connection folder and update them every time you update your Web Connection version.
build.bat
in the can create a build directory with all the files you typically need.
+++ Rick ---