Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
12.1k views
in Java FTP by (220 points)
hi ,
Anyone seen this error message before. ?
com.enterprisedt.net.j2ssh.transport.TransportProtocolException: The connection
did not complete
at com.enterprisedt.net.j2ssh.transport.TransportProtocolClient.onStartT
ransportProtocol(Unknown Source)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.startTra
nsportProtocol(Unknown Source)
at com.enterprisedt.net.j2ssh.SshClient.connect(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.connect(Unknown Source)

7 Answers

0 votes
by (51.6k points)
This means that the server terminated the connection as it was being established. Could it be an authentication problem? Which server are you using? Can you log into the server using another SFTP client? If so, are you using the same authentication method and credentials? Can you please turn on logging (see Developer's Guide) and post the log to this forum?

Also, trial users of edtFTPj/PRO are entitled to e-mail support, so you might like to e-mail our support address (support@...) to get more rapid responses.

- Hans (EDT)
0 votes
by (220 points)
Userid and password are correct and i am able to login to the FTP server using EDT software.. This exception happens sometimes..I will turn on logging and see if i can get more information.
0 votes
by (51.6k points)
Are you sure you shouldn't be using FTPS? You are currently using SFTP, which is incompatible with FTP. FTPS is available through the SSLFTPClient class.

- Hans (EDT)
0 votes
by (200 points)
I seem to be having the same weird problem when connecting to my SFTP server.

The situation is as follow

I have a java.util.TtimerTask that checks for the existence of a file in a SFTP server. This happens once every minute.

Before, I had a single SFTP client that always had an open connection to the server that was used to check the existence of the file

After a request from the server administrator, the architecture of the application was changed so it creates a new client, open a connection, and closes the connection at every execution of the task.

I tried to solve the problem by keeping a single client and connecting and disconnecting in every execution, but a problem with the Quit method (issue was posted in a different topic) prevented me from achieving success with that approach.


I am getting an intermittent problem (It happens 20 times in a period of 12 hours when executing every minute) that tells me the following problem:

Tue Sep 19 09:50:09 EDT 2006 Problem configuring FTP for Datasource: HPtimesheetTest. Server: delphi
com.enterprisedt.net.j2ssh.transport.TransportProtocolException: The connection did not complete
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.SSHFTPClient.connect(Unknown Source)
at ca.cezinc.common.general.SFtpUtilities.initConnection(SFtpUtilities.java:27)
at ca.cezinc.common.general.FtpUtilities.<init>(FtpUtilities.java:42)
at ca.cezinc.common.general.SFtpUtilities.<init>(SFtpUtilities.java:15)
at ca.cezinc.datatransfer.businessobject.FtpDataSource.initialize(FtpDataSource.java:98)
at ca.cezinc.datatransfer.DataTransferTask.run(DataTransferTask.java:92)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)


I took a look in the forum and found the this topic but it did not help because at this moment there is no reason/solution posted.

I'll appreciate any feedback with this issue
0 votes
by (162k points)
If you have a relevant section of log file you can post (only small!) or email to support at enterprisedt dot com we'll take a look.
0 votes
by (200 points)
Bruce, I already sent it to the edt support email account on Hans request
0 votes
by (162k points)
Oh, that's yours. Ok, we are taking a look.

Bruce, I already sent it to the edt support email account on Hans request

Categories

...