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: 126.96.36.199 : 188.8.131.52 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)
posted 7 years ago
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.