FoxPro and .NET Interop
SFTP - Trouble
Dear Sirs:
I am attempting to make a SFTP connection
myFTP = CREATEOBJECT('wwSFTP')
myFTP.Init()
LOCAL mFTP_SITE AS String
mFTP_SITE = "sftp.ncb.coop"
myFTP.FtpConnect(mFTP_SITE, THISFORM.mUSER.Value, THISFORM.mPASSWORD.Value)
IF myFTP.nError = 1 THEN
=MESSAGEBOX(myFTP.cErrorMsg))
ELSE
I am getting the following Error
Unable to connect to SFTP server: Socket read operation has timed out after 30000 milliseconds
What do you think the problem is