aspose file tools*
The moose likes Linux / UNIX and the fly likes Need to FTP the files which are older than 10 days  to other server in unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Need to FTP the files which are older than 10 days  to other server in unix " Watch "Need to FTP the files which are older than 10 days  to other server in unix " New topic
Author

Need to FTP the files which are older than 10 days to other server in unix

Sant Manchala
Greenhorn

Joined: Apr 15, 2009
Posts: 6
HI ,
I am working on a shell script which need to find out files which are older than 10 days in a directory on unix server and ftp those to other server

please help me out on this

-thanks
santosh Manchala


santosh manchala
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

What have you managed to write so far?


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I would start out by using the man pages for the unix command "find" with the option -mtime.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to FTP the files which are older than 10 days to other server in unix
 
Similar Threads
java applet which scp files to server
How to share files give ideas
ftp files to a different server
Opening file from remote machine using authentication
FTP FILES TO A DIFFERENT SERVER