Hi,
Firstly, I have no experience (at all) with shell scripting. So please, go easy on me
I did a search for what I was looking for although there were a few things available here and on the net I couldn't find anything tailored to what I am looking for.
Simply put, I have two servers. A GameServer that is accessible through ftp (ftp only) and a WebServer with CPanel for CRON etc. Both running on Linux ofc.
I'm looking for a perl script to run on my WebServer to automatically log into my GameServer via FTP, grab .dem (.dem file extension) files in a certain directory then download them to a certain directory on our WebServer.
It would also be brilliant if there was anyway to check if the file already existed on the WebServer so it wasn't re-downloaded to save on bandwidth.
I'd be grateful if anyone could help me here, again I don't have any experience of shell or perl scripting so if you could kindly give clear instructions that would be great.
Thanks in advance!