Meaningless Drivel is fun!
The moose likes Sockets and Internet Protocols and the fly likes FTP exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "FTP exception" Watch "FTP exception" New topic

FTP exception

Bhushan Garud

Joined: Nov 05, 2008
Posts: 4
Hi All,

I am new to this forum. I am getting following exception while doing ftp to ip through my application. I am providing ip, username, password in the code. And I am able to connect from the client machine to the ip using ftp command.

Can anyone please help me? it will be a great help.

com.jscape.inet.ftp.FtpException: :
at com.jscape.inet.ftp.SocketConnection.openOutgoing(Unknown Source)
at com.jscape.inet.ftp.FtpBaseImplementation.connect(Unknown Source)
at com.jscape.inet.ftp.FtpBaseImplementation.connect(Unknown Source)
at com.jscape.inet.ftp.Ftp.connect(Unknown Source)

Dilshan Edirisuriya
Ranch Hand

Joined: Apr 22, 2006
Posts: 299
Please supply the coding for the connection.

Also as I understood the problem, your connection may be a passive connection instead of an active. So look in to the "setConnectBeforeCommand" in Ftp class.

Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
I agree. Here's the link:
subject: FTP exception
It's not a secret anymore!