how to ftp only the files modifed with in a time frame

Advertisement

MKNENI
Joined:
Posts:
2

how to ftp only the files modifed with in a time frame

using sftp protocal.

Did some search but couldn't find a solution.

I need to download all the log files modified between May 10th 3.00 pm to 6.00 pm
Is there a way to do this.

This script downloads all the log files.
open userid:password@server
option transfer ascii
get *.log
close

thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Only think I can imagine is to use some smart shell scripting to move away the files you want to download to some temporary directory (using scripting command call). Then download the content of the temporary directory. Then move the files back to original directory.

Reply with quote

Advertisement

You can post new topics in this forum