Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a file updater like Windows Update

Status
Not open for further replies.

multiplex77

Programmer
Dec 25, 2001
302
SG
Hi,

I've installed an ASP web-based application on my client's server. However, from time to time, there will be a need for me to overwrite several .asp files to update the system (bug fixes, enhancements, etc).

How would I be able to create an executable file that can copy and overwrite a few files in a predefined folder, much like how Windows Update does it?

I want to be able to just email my client a .exe file, then he just runs the .exe on the server machine which copies over a few embedded .asp files into the folder. I want to avoid having to email my client a bunch of .asp files to ask him to copy over as updates.

Thanks for the advice.
 
Why not create your client a batch script or an exe that FTPs and downloads the updated files? Just a thought...
 
Batch files been around for ages and still work great. Give it a shot.

Glen A. Johnson
Johnson Computer Consulting
MCP W2K
glen@johnsoncomputers.us

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884

"Once the game is over, the king and the pawn return to the same box."
 
write a batch file and use the "replace" command. it'll check to see if one file is newer than the existing file on the users' pc and copy the new one to the user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top