jQuery in Action, 2nd edition*
The moose likes Sockets and Internet Protocols and the fly likes Exception while trying to connect to FTP server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Exception while trying to connect to FTP server" Watch "Exception while trying to connect to FTP server" New topic
Author

Exception while trying to connect to FTP server

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi,

I am trying to connect FTP Server running on SSL. When i try to execute the RETR command to get the file from server, i get the following exception


I am using following code



I am using java version 1.4.2_03-b02.
Can anybody help me?
[ November 22, 2004: Message edited by: Ali Gohar ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Moving to our Sockets and Internet Protocols forum.


[Jess in Action][AskingGoodQuestions]
 
 
subject: Exception while trying to connect to FTP server
 
Similar Threads
SSLHandshakeException
SSLSocket accept problem
Problem with running a program from Java file
Https problem when accessing through java programs
FTP URL Connection open crash