[thelist] Automating log file download

Robert Gormley robert at pennyonthesidewalk.com
Mon Mar 13 21:32:35 CST 2006

Ipswitch WS FTP Pro can do this. Alternatively, if you have shell 
access... one of the things I used to do before I learnt a lot of this 
was write a little php page, which copied the file to another location 
the host didn't delete, so I could ftp it off at my leisure, and then 
cron'ing it to be run daily.


April wrote:
> recommend an ftp program capable of this?  I also have a linux box 
> available, but little shell scripting experience, if anyone wants to 
> point me in that direction.
> 1.  Automatically connect to ftp server and download file.  The name of 
> the file changes every month, but predictably.
> 2.  Unzip and untar file.
> 3.  Rename file based on the current date.  This can be obtained from 
> the system or from lines inside the log file, but not from the file name.

More information about the thelist mailing list