Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FTP exception

 
Bhushan Garud
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic