A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Joined: Feb 22, 2007
Apr 29, 2008 03:59:00
I need to transfer one XML file to other FTP server on same network.
Please suggest me best method to do it.
I was thinking about sockets but in that case i need to put one programme on server machine also, right ?
If right then I dont want to do this.
Please suggest some better way.
Thanks and Regards,
[ April 29, 2008: Message edited by: hemant chaudhary ]
Joined: Mar 22, 2005
Apr 29, 2008 05:34:00
If the target machine has an FTP server, then FTP would seem to be the best method, wouldn't it?
The Apache Commons Net library contains an FTP client; see the javadocs of the org.apache.commons.net.ftp.FTPClient class for example code.
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: File transfer
Want to learn struts
File transfer using Tectia SSH
ftp transfer progress
Regarding java I/O
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014