Eg. The signature file main.cvd is 62MB, daily.cvd is 26MB and antivir.def is 66MB which takes about 1Hr 20 minutes total only to find that script downloads the same file that I had so I would like to avoid downloading the same file repeatedly.
NOTE:
As far as I understand the "wget -N -P <dest_dir> <remote_server_url>" command downloads the file only if the file timestamp on the remote server is newer than the local file timestamp.
But "wget -O <dest_dir>/main.cvd <remote_server_url>" downloads every time and sets the downloaded file time to server file time.
I will see if the UBCD 5.3.1 versions of the scripts have similar improvement like mine.
I have attached the diff/patch files
NOTE:
As far as I understand the "wget -N -P <dest_dir> <remote_server_url>" command downloads the file only if the file timestamp on the remote server is newer than the local file timestamp.
But "wget -O <dest_dir>/main.cvd <remote_server_url>" downloads every time and sets the downloaded file time to server file time.
I will see if the UBCD 5.3.1 versions of the scripts have similar improvement like mine.
I have attached the diff/patch files
Attachment:
diff_files.tgz