PROBLEM:

You are having problems replicating files to your replicaiton machine. 

SYMPTOMS:

-.part file appears to continue to grow and grow

-file doesn't finish downloading

-curl errors:

CURL_WRITE_ERROR (23

[Tue Jul 17 08:59:59 2012] DownloadFile: 'D:\KaceRep\repl2\software\13197\Adobe_CS6_Design_Standard-Windows.zip.' error occurred: 'Failed writing body (16383 != 16384)' Error Code (23), url: http://helpdesk.domain.com/packages/13197/Adobe_CS6_Design_Standard-Windows.zip 
[Tue Jul 17 08:59:59 2012] DownloadFile: Downloaded D:\KaceRep\repl2\software\13197\Adobe_CS6_Design_Standard-Wind


First, just try taking the following URL and putting it in a web browser and see if it downloads: 
http://helpdesk.domain.com/packages/13539/SCVMM%202008%20R2.zip 

Notate the results, then run the below. 

1. Download curl and psexec.exe and associated files. Extract the contents to a folder. 
2. open a comand prompt Run as Administrator and navigate into that folder. 
3. Run the following from command line: 
psexec.exe -i -s cmd.exe 

That should open up a new command prompt window as local system. 
To confirm, type in "whoami" minus the quotes in the new command window and it should say nt authority\system as the user. 

4. From within the new command prompt, navigate to the folder we extracted the files to. 
Run the follow command line: 

curl.exe -C - -O -vk http://helpdesk.domain.com/packages/13539/SCVMM%202008%20R2.zip 

This should download the file to the directory you're currently in. 

 

Next, compare the checksums for the file on the server and the copy of the file you downloaded. 

You can use the output from the curl process to get the checksum. 

Look at the line for 'Etag'. That is the checksum, minus the dashes (-). 

Then you can use a md5 checksum verify to verify the checksums match. 

http://download.cnet.com/MD5-Checksum-Calculator/3000-2092_4-10964258.html

 

If they're different, then something in between the KBOX and client is causing a problem with the download.