Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.7k views
in Java FTP by
Hi,

I am trying to execute the example code provided with edtFTPj/SSL to connection with FTPS server. The Exception is "Connection timed out".
Can anybody tell me why am i getting this exception? thanks

3 Answers

0 votes
by (162k points)
Could you post

- the stack trace
- the log
- the type of FTPS server

At what point does it time out?


Hi,

I am trying to execute the example code provided with edtFTPj/SSL to connection with FTPS server. The Exception is "Connection timed out".
Can anybody tell me why am i getting this exception? thanks
0 votes
by
Thanks for your reply. I have managed to connect to the server through implicit connection. I have tried the code to list the directories at server but when I tried to put a file at the server, FTPException is thrown that
0 votes
by
Try by swithing the Connection Mode from PASV to ACTIVE. That should work.
ftp.setConnectMode(com.enterprisedt.net.ftp.FTPConnectMode.ACTIVE);

Thanks, Venu Pasula

Thanks for your reply. I have managed to connect to the server through implicit connection. I have tried the code to list the directories at server but when I tried to put a file at the server, FTPException is thrown that

Categories

...