
shest75
Novice
Oct 28, 2009, 11:08 AM
Post #4 of 5
(2290 views)
|
|
Re: [tiggers] ultrastats updating weekly
[In reply to]
|
Can't Post
|
|
Ok, So don't use perl. Just use ftp command. Try ftp -h you should see something like : ftp -s:filename In this filename you can send ftp command like open 127.0.0.1 -> You should change it shest -> the username shest -> the password cd /ftproot/test1 -> cd in the remote ftp directory dir -> have an overview of files in the directory lcd c:\temp -> "Local cd".. change it to what you want get test1.txt -> do the get command bye -> exit So if you have multiple directory, just add in the script : cd /first-src-dir lcd /first-dest-dir get first-logfile cd /second-src-dir lcd /second-dest-dir get second-logfile make some tests, but I hope it will help. You just need to add it in the windows scheduler ( at ) and everything should just be fine. I'm still wondering how log files are "rotated"... Bye
(This post was edited by shest75 on Oct 28, 2009, 11:19 AM)
|