Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

cant connect after disconnected from ftp server  RSS feed

Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have develop an ftp app , but there is one problem
after being idle for some minutes the ftp server disconnects the client ...fine
but that ftp app has a jtree which fires treeselectionlistener 's value changed method in that method i have done something which is below

so when the server disconnects my app , and when i m selecting any tree , because of my above few statements my app should reconnect with the server , right ?
but it is throwing an exception , saying connection has been aborted
or something like software caused connection abort

what i want is whenever ftp server disconnects my app
my app should able to reconnect to the server without even restarting my app
can i do this , offcourse yes , but how ??
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!