Menu

#266 Implemente overwrite protection in sshPutFileAction

Workflow
closed
Undefined
Undefined
2018-04-05
2014-11-14
No

Add optional overwrite protection to sshPutFileAction
This would first check if the specified file exists and refuse to put the file if it is already present on the target.

Discussion

  • Adam Tauno Williams

    with a86fb38cbdced0daa57f6b0878e83f1a9a88a4fd of 0.1.49rc113 sftpPutFileAction supports a allowOverwrite parameter that defaults to YES. A value of NO causes the action to raise an exception if the target file exists and has a size greater than 0 (a zero sized file will still be overwritten).

     
  • Adam Tauno Williams

    • status: accepted --> closed
    • Layer: --> Undefined
    • Type: --> Undefined
     

Log in to post a comment.