This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Creating and saving txt file to a remote server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Creating and saving txt file to a remote server" Watch "Creating and saving txt file to a remote server" New topic
Author

Creating and saving txt file to a remote server

Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
Hi!
my client asked me, that when he clicks on a button in my application, it would send the database information as txt file to a remote server via its FTP.

how can i do it?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Check out the Apache Commons Net library - it has everything you need to build an FTP client into your application.
Jordan Smith
Ranch Hand

Joined: Apr 06, 2008
Posts: 89
thanks
and i found a great tutorial here:
http://www.dreamincode.net/forums/showtopic32031.htm
 
Consider Paul's rocket mass heater.
 
subject: Creating and saving txt file to a remote server