Hi there. Not sure if I'm in the right place or not but could use a bit of advice!
I've recently started a new job and desperately need a script which will compare files or directories within other directories to see if there are any changes (i.e. if users have placed files or new files there) and then send the files via ftp to another server. In other words, we have a set of directories on a server that users will upload files to. Every couple of minutes, a script needs to run which looks at these directories to see what's changed. If anything has changed, for example, a new directory containing text files now exists, then only this change needs to be ftp'd over to another server.
I'm not sure how complicated this is. I've been doing a bit of digging around with regards to the ftp side of things and put and get etc. I'm assuming that the script which does the comparison could be VBScript and maybe outputs the changes to some sort of text file which is then used by an ftp batch file? Or am I completely off track?????
Thanks in advance!
I've recently started a new job and desperately need a script which will compare files or directories within other directories to see if there are any changes (i.e. if users have placed files or new files there) and then send the files via ftp to another server. In other words, we have a set of directories on a server that users will upload files to. Every couple of minutes, a script needs to run which looks at these directories to see what's changed. If anything has changed, for example, a new directory containing text files now exists, then only this change needs to be ftp'd over to another server.
I'm not sure how complicated this is. I've been doing a bit of digging around with regards to the ftp side of things and put and get etc. I'm assuming that the script which does the comparison could be VBScript and maybe outputs the changes to some sort of text file which is then used by an ftp batch file? Or am I completely off track?????
Thanks in advance!