Page 1 of 1

Updating Local Content

Posted: Tue Oct 30, 2007 6:58 pm
by ibanez270dx
Hi everyone,
I am not sure how exactly to start this little project coding-wise, so I figured I'd ask. At my company, we have an intranet site on which will be an "Update Files" button. When clicked, I want a Windows Popup to come up (most likely Java, right?) and search a specific folder on client computer for an assortment of files and then compare these to a corresponding folder on the server containing updated versions of files or brand new files. If new versions of files or new files are available, I want the popup to display them and prompt to download. When the user clicks download, I obviously need the program to overwrite all the older versions of files, as well as download the new ones into the specific folder. I haven't done any PHP work that deals with files on a client computer except for uploading, so any help is appreciated!

Thank you in advance,
- Jeff

Posted: Tue Oct 30, 2007 11:21 pm
by Kieran Huggins
Yeah - you'd have to write a Java applet to do that, since the browser security model doesn't allow access to the local filesystem.