Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes FTP FILES TO A DIFFERENT SERVER Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "FTP FILES TO A DIFFERENT SERVER" Watch "FTP FILES TO A DIFFERENT SERVER" New topic
Author

FTP FILES TO A DIFFERENT SERVER

Bhasker Reddy
Ranch Hand

Joined: Jun 13, 2000
Posts: 176
I have xml orders that i get to a i-planet server.
I need to do ftp these files regularly(once a week
or month) to another oracle/unix server.
Do you guys have any idea how to ftp these files
to other server.


Bhasker Reddy
Robert Gagliardo
Greenhorn

Joined: Nov 15, 2001
Posts: 24
use cron if your on unix
use scheduler if your on NT
to launch a perl script to do the ftp.
you could even use a batch or shell script to emulated the ftp commands
ftp ftp.somesite.com
asci
put file.xml
etc.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: FTP FILES TO A DIFFERENT SERVER
 
Similar Threads
FTP package
serving pdf files
uploading files using a java application
Commons Net Ftp how to perform checksum on file in the server
ftp files to a different server