Re: sFTP Connection - WeOnlyDo Discussion board

Re: sFTP Connection (General questions)

by dhuangfu, Saturday, July 30, 2011, 00:32 (4648 days ago) @ woddrazen

I got the same issue as this.
Our server with WeOnlyDo is 128.172.###.###.
We have an old script that SFTP to 128.172.###.1##
working very well. But when I tried to make the new
script that SFTP to 128.172.###.2##, it got the same error

WeOnlyDo.wodSFTPCom.1 error 'ffffffff'

Unrecognized Error.

/library/getLibFTP.asp, line 61

When I developed the new script in my desktop
(172.22.xxx.xxx) it worked fine.
My desktop only installed an evaluation copy
of WeOnlyDo. So I commented the line of this
Sftp.LicenseKey =


#############################################

I'm using the sample Classic ASP code included in the demo download with one exception. The server i'm trying to connect to uses a different port so I have Sftp.Port = <servers port number> added.
I was also having timeout issues so I added Server.ScriptTimeout = 1800

I submit the form in sftp.asp...
While watching the server's FTP logs I see it send the welcome message indicating that the activex object has connected to the server. But it never sends the USER or anything after.
The webpage returns

WeOnlyDo.wodSFTPCom.1 error 'ffffffff'

Unrecognized Error.

/sftp.asp, line 32


Line 32 is Sftp.Connect


What am I doing wrong? Cant be much since i'm using the sample code provided.


Complete thread: