Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FTP exception

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic