Exporting Task with a local download

(imported topic written by Bill.Ehardt)

To make a long story short, I exported a task that I created on our old proof-of-concept server via software deployment wizard. I exported the task, and copied the same folder structure over into the upload directory.

When I try to run it… I’m getting this error for the downloads:

Download error: “Windows Error: No data is available for the requested resource.”

URL: http://:52311/Uploads/a1492958428b70c39ff19484cf3a8fcaca6c5977/SSLCerts.tmp

SHA1: a1492958428b70c39ff19484cf3a8fcaca6c5977

Size: 0 bytes

Next retry: 2 minutes. Retry now

I’ve never done this before, so I’m sure its something simple. What did I do wrong?

(imported comment written by SystemAdmin)

I am not sure if you can actually download a zero byte file. Is the file expected to be 0 bytes?

If so, what you may want to do is remove the download command for that file. If the file is actually needed (sometimes applications just check the exists of a certain file even if its empty), you can just make it on the fly by doing something like this:

// Create specified zero-byte files. 
waithidden cmd.exe /C copy /y NUL "__Download\SSLCerts.tmp"  >NUL

(this was taken from our upcoming update to software distribution)

-Zak

(imported comment written by Bill.Ehardt)

It’s not a zero byte file. I’m no sure why its showing that.

(imported comment written by BenKus)

Does the file match the sha1?

You can test it with QnA:

sha1 of file “\wwwrootbes\Uploads\a1492958428b70c39ff19484cf3a8fcaca6c5977\SSLCerts.tmp”

Ben

(imported comment written by Bill.Ehardt)

I’m completely confused. At 5:30pm last night it decided to just start working. I was messing around with the cache utility… so maybe I stumbled across fixing it.

The sha1 matched, but the filesize didn’t. It was like the bes server didn’t know to look for it there.

(imported comment written by BenKus)

Yea… the prefetch command will fail if either the size or sha1 doesn’t match… I think the error message is not particularly helpful in this case…

Ben