anchor.diff:  ﻿[<AutoOpen>]
  +/// Conatins a task which allows to perform file copies using [SCP](http://en.wikipedia.org/wiki/Secure_copy), which is based on the Secure Shell (SSH) protocol.
   module Fake.SCPHelper 
   
  -/// The SCP parameter type
  +/// The SCP parameter type.
   type SCPParams =  { 
       /// Path of the scp.exe 
       ToolPath:string
  
positive.code:     ToolPath = "scp.exe"
      PrivateKeyPath = null }
  
  /// Performs a SCP copy from the given source directory to the target directory
  /// ## Parameters
  ///
  ///  - `setParams` - Function used to manipulate the default SCPParams value.
  ///  - `source` - The source directory
  ///  - `target` - The target directory
  let SCP setParams source target =
      let (p:SCPParams) = setParams SCPDefaults
      tracefn "SCP %s %s" source target
  
negative.code:             info.WorkingDirectory <- source |> FullName
              info.Arguments <- args) System.TimeSpan.MaxValue
                 
      if result <> 0 then failwithf "Error during SCP. Source: %s Target: %s" source target