Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6.8k views
in Java FTP by (160 points)
I am using edtFTPj-Pro (dated 30/12/2009) to use SFTP to transfer files. I have an installation of my software on Windows Server 2008 R2 and it works fine. I have an installation on Windows Server 2003 R2 and I get the following exception when making the initial connection:

java.io.IOException: Time-out while starting transport protocol
at com.enterprisedt.net.j2ssh.transport.TransportProtocolClient.onStartTransportProtocol(Unknown Source)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.startTransportProtocol(Unknown Source)
at com.enterprisedt.net.j2ssh.SshClient.connect(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SCPClient.connectSSH(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.connect(Unknown Source)
at com.oneviewservices.monitor.ftp.FTPImportHandler.execute(FTPImportHandler.java:111)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:534)

Any ideas what might cause this problem?

I have succesfully used the FileZilla Client to do a SFTP transfer using the Server 2003 machine so it doesn't look like a firewall problem.


Thanks,
Geoff

2 Answers

0 votes
by (162k points)
Please enable logging at the ALL level (see the user guide for more details) and send us the zipped log file (support at enterprisedt dot com).

Have a quick look through the log file before sending it - it is often obvious what the problem is after looking at it.
0 votes
by (160 points)
Many thanks. I did as you suggested and I spotted in the log that I was explicitly trying to connect on port 21 rather than 22.

Problem solved.

Categories

...