Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.6k views
in Java FTP by
Hi i have this problem

That drives me mad. In one of our clients the connection seemed to be timed out the moment it's sending the file. In the server i keep ending up getting 0 bytes files. As you see from the debugging below... I got IOException.

DEBUG [com.enterprisedt.net.ftp.FTPClient] 7 Jul 2005 13:13:59.729 : Connecting to /xxx.xxx.xxx.xxx:21
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.869 : 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [xx.xx.xx.xx]
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.869 : ---> USER ********
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.900 : 331 Password required for xxxxxx.
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.900 : ---> PASS ********
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.932 : 230 User xxxxx logged in.
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.947 : ---> CWD xxxx/xxxx/xxxx/xxxx
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.979 : 250 CWD command successful
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:09.979 : ---> TYPE I
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:10.10 : 200 Type set to I
INFO [xxxScan] 7 Jul 2005 13:14:10.10 : FTP #1: connected to the server, start sending files:
INFO [xxxScan] 7 Jul 2005 13:14:10.10 : FTP #2: Copying LB000479
INFO [xxxScan] 7 Jul 2005 13:14:12.432 : FTP #3: Sending: LB000479
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 
7 Jul 2005 13:14:12.432 : ---> PASV
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:12.463 : 227 Entering Passive Mode (213,130,139,109,133,28).
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:12.494 : ---> STOR 100713_1_LB000479
DEBUG [com.enterprisedt.net.ftp.FTPControlSocket] 7 Jul 2005 13:14:12.525 : 150 Opening BINARY mode data connection for 100713_1_LB000479
DEBUG [com.enterprisedt.net.ftp.FTPClient] 7 Jul 2005 13:14:12.525 : Transferred 5330 bytes to remote host
ERROR [xxxClass] 7 Jul 2005 13:15:13.56 : FTP PUT: IOException : error uploading file to server LB000479 : read timed out
java.net.SocketTimeoutException: read timed out 


i have installed our program in other clients they're doing fine, it's just with this one.

Any idea what could be the problem?

2 Answers

0 votes
by (162k points)
Could be a firewall problem ... try using active mode instead of passive.
0 votes
by (200 points)
They're not behind firewall.
And we tried to set it to Active too. still didnt work.
At first i set the Time out to 1 min then tried 5 mins, got the same results.
The funny thing is sometimes it works but most of the times it doesnt work.
This is what confuses me.

As i said, i have installed the program in many clients they're fine, except for this one. soo confusing

Categories

...