hi i saw a similar topic for this. but yet mine is going to be a bit different and i didnt find any help in the other topic.''
basically what i have made:
a overview tool for new stuff in a comunity, this will contain all avaiable job positions
and so on. so all the administration staff will be able to see/update this
the updated version will be uploaded to an server with FTP enabled,
so basically what i want is that every time we upload a new version to this server
then the previous version will detect this and download the update.
this must be working both for win7 and win8 and win8.1
so how would i work this?
and also. it is not just 1 single file.
it is an entire folder with 8 script files that works together within eachother so how would i make it so when you start up the main script for this tool that it updates the entire folder and all files within it?
the file names for each script will remain the same so no worries in that.
the only changes will be made inside the script.
any help with this please?
Batch updating
Moderator: DosItHelp
Re: Batch updating
I am not sure if you are looking for a script to download new files or upload new files.
Regardless, we have an example of both in the script library.
http://www.dostips.com/DtTipsFtpBatchScript.php
Regardless, we have an example of both in the script library.
http://www.dostips.com/DtTipsFtpBatchScript.php
Re: Batch updating
basically.
i upload a new update for my tool onmy server by hand.
and the moment i start up the program, then it will start checking for new updates and download them
but i also want it to keep the name etc: overview_v1.bat
but the new update would etc be named overview_v2.bat
but v1 will detect the v2 and download it if it exist.
then v2 will do same for v3 when that one exist.
and so on
i upload a new update for my tool onmy server by hand.
and the moment i start up the program, then it will start checking for new updates and download them
but i also want it to keep the name etc: overview_v1.bat
but the new update would etc be named overview_v2.bat
but v1 will detect the v2 and download it if it exist.
then v2 will do same for v3 when that one exist.
and so on
Re: Batch updating
is it possiblie etc if i show u the script later and the root folding system from the server
that you can help me put together a script i simply can copy/paste into the top of my script
i basically want it just to: check for updates on the server
if any new files were detected of this kind then it will automatically download it and overwite the existing file thats on the user's computer
that you can help me put together a script i simply can copy/paste into the top of my script
i basically want it just to: check for updates on the server
if any new files were detected of this kind then it will automatically download it and overwite the existing file thats on the user's computer
Re: Batch updating
There are simple ways to download and overwrite a file, unless the file that is doing the downloading has to be overwritten, which makes it more complicated.
Without accurate details of the task it's hard to give appropriate advice.
Without accurate details of the task it's hard to give appropriate advice.