Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

frulhaque

Posts

3

Joined

Sun Feb 07, 2010 2:13 am

ControlChannelIOException: Read timed out

by frulhaque » Sun Feb 07, 2010 2:18 am

Hi,
I get the following error message when I try to connect to my web based FTP server:

com.enterprisedt.net.ftp.ControlChannelIOException: Read timed out
at com.enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:1014)
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:1074)
at com.enterprisedt.net.ftp.FTPControlSocket.validateConnection(FTPControlSocket.java:418)
at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.java:384)
at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.java:355)
at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:958)
at com.enterprisedt.net.ftp.FileTransferClient.connect(FileTransferClient.java:383)
at ijio.applet.desktops.modules.shared.classes.TeacherClass.run(TeacherClass.java:393)
at java.lang.Thread.run(Unknown Source)

The code referenced at line 393 in my class is connect(). The code is the exact same as on a desktop application built to learn/test the EDTFTPj package which successfully connected/uploaded/downloaded files to and from the same FTP server.

Any help will be greatly appreciated.

Thanks.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: ControlChannelIOException: Read timed out

by support2 » Sun Feb 07, 2010 8:05 pm

Try posting the relevant bit of the log file at DEBUG level.
no avatar
User

frulhaque

Posts

3

Joined

Sun Feb 07, 2010 2:13 am

Re: ControlChannelIOException: Read timed out

by frulhaque » Sun Feb 14, 2010 1:31 am

DEBUG [FTPClient] 13 Feb 2010 15:21:41.359 : Class: com.enterprisedt.net.ftp.FTPClient
Location: http://iji-online.jsn-server4.com/lib/edtftpj.jar
Version: 2.0.5
Build timestamp: 19-Oct-2009 13:44:01 EST
Java version: 1.6.0_17
CLASSPATH: C:\PROGRA~1\Java\jre6\classes
OS name: Windows XP
OS arch: x86
OS version: 5.1

DEBUG [FTPClient] 13 Feb 2010 15:21:41.796 : Class: com.enterprisedt.net.ftp.FTPClient
Location: http://iji-online.jsn-server4.com/lib/edtftpj.jar
Version: 2.0.5
Build timestamp: 19-Oct-2009 13:44:01 EST
Java version: 1.6.0_17
CLASSPATH: C:\PROGRA~1\Java\jre6\classes
OS name: Windows XP
OS arch: x86
OS version: 5.1

DEBUG [FileTransferClient] 13 Feb 2010 15:21:56.812 : Configured client
DEBUG [FTPClient] 13 Feb 2010 15:21:56.812 : Connecting to /72.9.248.130:22
DEBUG [FTPControlSocket] 13 Feb 2010 15:21:57.046 : SSH-2.0-OpenSSH_4.3
ERROR [FTPControlSocket] 13 Feb 2010 15:22:57.578 : Read failed ('' read so far)
ERROR [FTPControlSocket] 13 Feb 2010 15:22:57.578 : Failed to initialize control socket : Read timed out
no avatar
User

frulhaque

Posts

3

Joined

Sun Feb 07, 2010 2:13 am

Re: ControlChannelIOException: Read timed out

by frulhaque » Mon Feb 15, 2010 2:37 am

This problem is now fixed.

I could enlighten people as to the resolution, but I don't think I will get over the embarrassment of what a stupid mistake I was making and how it wasted 7 days of otherwise productive time. :oops: :oops: :oops: :oops: :oops: :oops: :oops:
no avatar
User

sassubra

Posts

3

Joined

Fri May 07, 2010 1:35 am

Re: ControlChannelIOException: Read timed out

by sassubra » Fri May 07, 2010 1:40 am

Hi frulhaque,

Can you please reply what you did to solve this issue?
I am also facing this issue :(

Thanks,
sassubra

Who is online

Users browsing this forum: No registered users and 123 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron