Script time out using sftp.asp sample - WeOnlyDo Discussion board

Script time out using sftp.asp sample (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Nate, Wednesday, November 02, 2005, 00:03 (6961 days ago)

I have the demo version and I have set up a test site with the sftp.asp same page. After I enter my hostname, login and password it works for about 15 seconds the comes back with the following message:

Active Server Pages error 'ASP 0113'

Script timed out

/sftp.asp

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

Is the length of time due to the initial handshake as its called in help? If so will it always take this long to connect or am I doing something wrong.

Thanks.

Re: Script time out using sftp.asp sample

by wodSupport, Wednesday, November 02, 2005, 00:22 (6961 days ago) @ Nate

Nate,

handshake shouldn't take 15 seconds, so I think some other problem is involved here.

Does your code work when run as regular user? Do you get any errors?

If you set Sftp.Timeout to value less than 15 seconds, does it help?

Re: Script time out using sftp.asp sample

by Nate, Wednesday, November 02, 2005, 15:40 (6961 days ago) @ wodSupport

I changed the timeout property to 10 and this is the error that comes back 10 seconds after I click submit.

Initializing wodSFTP
Connecting...

WeOnlyDo.wodSFTPCom.1 error '800a05b4'

The current connection has timeout.

I can access this server with the same hostname/login/password from a command prompt using ftp 'server' .

Re: Script time out using sftp.asp sample

by wodSupport, Wednesday, November 02, 2005, 16:11 (6961 days ago) @ Nate

Nate,

can you disable windows firewall? I've seen this before that when running from ASP your local windows firewall stops the connection.

Or, any other local firewall you have (such as ZoneAlarm)?

Re: Script time out using sftp.asp sample

by Daniel Strand, Thursday, July 06, 2006, 09:26 (6715 days ago) @ wodSupport

I have a simlar problem. The code I am using is:

set objConn=server.CreateObject( WeOnlyDo.wodSFTPCom.1 )
objConn.LicenseKey = .......
set Session( object )=objConn
objConn.Hostname = HOSTNAME
objConn.Login = LOGIN
objConn.Password = PASSWORD
objConn.Blocking = 1
objConn.Connect

objConn.ListDir /
Response.Write(objConn.ListItem)
objConn.Disconnect


the code stops at objConn.Connect and after 30 seconds or so I get:
WeOnlyDo.wodSFTPCom.1 error '800a05b4'
The current connection has timeout.
/nettryst/bin/visyplanfetch.asp, line 64

We used to have a Windows firewall which now has been uninstalled and replaced with a Cisco PIX. I can connect with FileZilla to the server and exchange data quite happily.

What's next?

Re: Script time out using sftp.asp sample

by wodAlan, Thursday, July 06, 2006, 09:55 (6715 days ago) @ Daniel Strand

Hi Daniel,

Is there any chance that I can try to connect to your server?
If I can, please send me your server/login info to techsupport@weonlydo.com. Your server info will be safe and if I successfully establish connection I'll disconnect immediately.
Anyway this problem happens only from one machine or ?
Did you try from some other machine?

Sorry for all questions, but this can help us to isolate and resolve your problem.

Regards,
Alan