Updating Local Content

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ibanez270dx
Forum Commoner
Posts: 74
Joined: Thu Jul 27, 2006 12:06 pm
Location: Everywhere, California

Updating Local Content

Post 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
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post 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.
Post Reply