Hi! I am new to unix and this forum as well..
Can someone please help me :
I want to "get/mget" files which are older than 10 minutes from a remote FTP server like "ftp.com".
After getting the files to local unix server say "Prod.com" , i need to delete only those files from ftp.com which got copied to local unix server.
The files in the FTP server (ftp.com) will be coming in below format:
how to change it to get/mget only files older than 10 minutes from remote host (ftp.com) and also delete only those files from remote host after copying.
Please always use code tags when posting any code fragments or data samples. If you are not sure how to use code tags, then please have a look at this forum video tutorial
BTW I don't think there is any way to do this inside FTP. You have to generate the list of files older than 10 minutes outside FTP and use it.