permaculture playing cards*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Check out the Apache Commons Net library - it has everything you need to build an FTP client into your application.


Ping & DNS - my free Android networking tools app
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating and saving txt file to a remote server