Page 1 of 1

Will not download

PostPosted: 22.01.2016, 19:37
by jc3iii77
It will not download. I tried to follow the other post who had problems, but I did not understand how they fixed the problem. I attached the file so someone can read it. I hope someone can help. Thank You.

It will not let me attach the document. I figured out what to do, but I cant make changes to the static folder. Every time I do make changes. The file gets changed back to the original.

Re: Will not download

PostPosted: 23.01.2016, 00:16
by boco
There's no attachment.

Re: Will not download

PostPosted: 23.01.2016, 00:30
by jc3iii77
OK. Sorry about that. I did figure out how to correct it, but for some reason every time I change the file. It gets changed right back to the original. I dont know if its my computer or the program itself. It sounds crazy, but its happening.

Re: Will not download

PostPosted: 23.01.2016, 22:27
by aker
Which file did you change?

Re: Will not download

PostPosted: 24.01.2016, 02:29
by jc3iii77
I went into the Static folder and tried to change the StaticDownloadFiles-modified file, but it keeps on changing itself back to the original. I did that based off what I read form the other post.

Re: Will not download

PostPosted: 24.01.2016, 10:34
by aker
The file StaticDownloadLinks-modified.txt will be downloaded every time from http://download.wsusoffline.net/StaticDownloadFiles-modified.txt.
But changing this file should not cause any change in wsusou's behaviour (if you're using the most recent version).
What did you put in the file and which post did you read, telling, that you need to change that file?

Re: Will not download

PostPosted: 25.01.2016, 02:17
by ewb3
jc3iii77,

Once you install wsusoffline, go into the static folder and highlight StaticDownloadLinks-sysinternals file. RIGHT-CLICK and choose 'Edit'. Once you change the url's to lower case, simply do a 'save'. It'll stay the same after that.
The error is to 'open' the file in your text editor then allow the editor to save the file in the 'editors' default directory which won't be the 'static' directory. I made the same rookie mistake. Once I used the 'edit' function, it pulled everything without ah hitch.

Pax,
ewb3

Re: Will not download

PostPosted: 25.01.2016, 11:53
by hbuhrmester
Maybe it helps to better understand the mechanism "Update static download definitions". This mechanism is used to update single files within the static directory. It is a two-step approach:

First, the link http://download.wsusoffline.net/StaticD ... dified.txt is downloaded to the static directory.

Second, all links within the file StaticDownloadFiles-modified.txt are downloaded to the static directory as well.

Right now, you can see how this is used to update the file StaticDownloadLinks-sysinternals.txt. The download links for the Sysinternals utilities have changed from mixed-case to all lower-case, and the file StaticDownloadLinks-sysinternals.txt had to be changed accordingly:

viewtopic.php?f=3&t=5387
viewtopic.php?f=3&t=5390

Therefore, the file StaticDownloadFiles-modified.txt contains a download link for a new version of the file StaticDownloadLinks-sysinternals.txt, and then this file is replaced.

So, in this case the result will be okay.



But for older versions of WSUS Offline Update it is still recommended to make all changes manually as needed. Then you should add two lines to the section [Miscellaneous] of the file UpdateGenerator.ini:

Code: Select all
skipsdd=Enabled
checkouversion=Disabled


If you use the script DownloadUpdates.cmd directly on the command-line, you can add the parameter /skipsdd



As a side note, the file StaticDownloadFiles-modified.txt should not get downloaded all the time. wget is set to compare the timestamps of the local and the remote file, and it should only download the file, if the file modification date on the server is newer.

But wget will also download a file, if the file size is different, regardless of the file modifications dates. Some call this a bug, and it can be annoying: Sometimes wget may replace a newer file with an older version of the same file.

wget-1.17 probably changes this, but I didn't try it yet. aria2 only compares the timestamps, not the file sizes.