We are using DFS-R on our servers to replicate DNN content between multiple servers. It works really well, except for some of our system create PDF documents with the temporary file attribute set. Turns out that DFS will not replicate files with the Temporary file attribute. Lame. I created a simple PowerShell script that will recurse through everything in the sub folders and if it's the attribute is set, it will remove it. Because the attribute changes, it causes the file to sync between the 2 servers. Unfortunately this is currently a scheduled task that runs every hour. So the files won't get replicated until it triggers. Soon this will be a .NET service that will run using a file watcher on all changed files. And, here's the script.

Get-childitem e:\ -recurse | ForEach-Object -process { 
    if (($_.attributes -band 0x100) -eq 0x100) { 
        echo $_.fullname 
        $_.attributes = $_attributes -band 0xFEFF 
    } 
}

If you don't want it to recurse through all the subdirectories, remove the -recurse. Change the e:\ to whatever folder you want to look in.
To schedule it...create the the application to run is C:\Windows\System32\WindowsPowerShell\v1.0\\powershell.exe
You need to set the parameters of the task to -command "& 'e:\removetemp.ps1' "
so what it would actually run is

C:\Windows\System32\WindowsPowerShell\v1.0\\powershell.exe -command "& 'e:\removetemp.ps1' "