aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "FTP exception" Watch "FTP exception" New topic
Author

FTP exception

Bhushan Garud
Greenhorn

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: 209.235.243.108 : 209.235.243.108
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)

Thanks
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: http://aspose.com/file-tools
 
subject: FTP exception