Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Automatic FTP  RSS feed

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i'm trying to perform automatic FTP to some server where i have proper ftp access.
i know how to use .netrc file configuration on Unix or how to write a script that does the automatic ftp but my question is,
"is there a simple way in Java using some API by which i can do achive this?".
i want to use Java if possible to make it platform independent. also, i would prefer it 'not having' much overhead as we would be doing this for another company and they would certainly want small deployment instruction set so to say...
regards
maulin
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Maulin,
Apache Ant is a nice platform independent tool that you could use. It has a ftp task that might be the solution to your problem.
You can then have a wrapper java program that calls your Ant build script.
Best luck
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!
thanks for the response but finally i was able to do it myself..

thanks
maulin
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!