Error message:
Starting job FTP at 16:15 07/06/2011.
connecting to socket on port 3383
connected
Exception in component tFTPFileList_1
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:1049)
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:973)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:807)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocket(FTPControlSocket.java:563)
at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2561)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3468)
at first_project.ftp_1_0.FTP.tFTPFileList_1Process(FTP.java:263)
at first_project.ftp_1_0.FTP.runJobInTOS(FTP.java:808)
at first_project.ftp_1_0.FTP.main(FTP.java:679)
disconnected
Job FTP ended at 16:16 07/06/2011.
Hi
It is failed to connect to FTP server, please check the parameters are correct and you able to ping to the server. Also, there are two design problems in the job:
1. You should use a tFTPConnection to create a ftp connection, and then use the existing connection on both component.
2. You don't set the file mask on tFTPGet component.
Best regards
Shong