Read time out error using tFTPGet

One Star

Read time out error using tFTPGet

Hi,
I am trying to pull a file from an AS/400 using tFTPGet. The host, id, password and directories are all good.
I am able to FTP the file from a windows command prompt but using the tFTPget component. I get the following error:

Starting job FTP_PROD_AVAIL at 10:53 22/10/2009.
connecting to socket on port 3835
connected
2009-10-22 10:53:52|zZKqgb|zZKqgb|zZKqgb|4048|GOAL_POC|FTP_PROD_AVAIL|_qHV00L5OEd6qTrvjrpCOQQ|0.1|Default||begin||
2009-10-22 10:53:52|zZKqgb|zZKqgb|zZKqgb|4048|GOAL_POC|FTP_PROD_AVAIL|_qHV00L5OEd6qTrvjrpCOQQ|0.1|Default|tFTPGet_1|begin||
Exception in component tFTPGet_1
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.LineNumberReader.readLine(LineNumberReader.java:163)
at com.enterprisedt.net.ftp.FTPClient.readLine(FTPClient.java:3447)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3356)
at com.enterprisedt.net.ftp.FTPClient.dirDetails(FTPClient.java:3282)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL$1FTPGetter_tFTPGet_1.getFiles(FTP_PROD_AVAIL.java:304)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL.tFTPGet_1Process(FTP_PROD_AVAIL.java:419)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL.runJobInTOS(FTP_PROD_AVAIL.java:2323)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL.main(FTP_PROD_AVAIL.java:2180)
2009-10-22 10:54:57|zZKqgb|zZKqgb|zZKqgb|4048|GOAL_POC|FTP_PROD_AVAIL|_qHV00L5OEd6qTrvjrpCOQQ|0.1|Default|tFTPGet_1|end|failure|64202
2009-10-22 10:54:57|zZKqgb|zZKqgb|zZKqgb|GOAL_POC|FTP_PROD_AVAIL|Default|6|Java Exception|tFTPGet_1|java.net.SocketTimeoutException:Read timed out|1
2009-10-22 10:54:57|zZKqgb|zZKqgb|zZKqgb|4048|GOAL_POC|FTP_PROD_AVAIL|_qHV00L5OEd6qTrvjrpCOQQ|0.1|Default||end|failure|64608
disconnected
Job FTP_PROD_AVAIL ended at 10:54 22/10/2009.
Community Manager

Re: Read time out error using tFTPGet

Hello
Which version of TOS do you use? Can you upload a screenshot of perperties of tFTPGet?
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Read time out error using tFTPGet

Good Day,
We are using TOS 3.2.0
Attached is a screen snapshot of our tFTPGet properties.
Community Manager

Re: Read time out error using tFTPGet

Hello
Try to change the following configuation:
1)Using ip replace host name.
2)Change the filemask: /qdls/ess_upld/F55084.txt -->F55084.txt
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Read time out error using tFTPGet

Hi,
Thanks you for your suggestions. I made both changes and still get the same read timed out error.
One Star

Re: Read time out error using tFTPGet

Try to change the remote directory value from "/qdls/ess_upld/" to "qdls/ess_upld/".
-Nitin
One Star

Re: Read time out error using tFTPGet

Try to change the remote directory value from "/qdls/ess_upld/" to "qdls/ess_upld/".
-Nitin

I made the change you suggested and now I get a new error:
Exception in component tFTPGet_1
com.enterprisedt.net.ftp.FTPException: 501 Character (/) not allowed in object name.
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1149)
at com.enterprisedt.net.ftp.FTPClient.chdir(FTPClient.java:3579)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL.tFTPGet_1Process(FTP_PROD_AVAIL.java:361)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL.runJobInTOS(FTP_PROD_AVAIL.java:2314)
at goal_poc.ftp_prod_avail_0_1.FTP_PROD_AVAIL.main(FTP_PROD_AVAIL.java:2171)

Re: Read time out error using tFTPGet

Using tFTPPut to move a file from local to FTP.. but getting Read Timed out error..shared the component properties.Please help..!!!