Your browser does not allow storing cookies. We recommend enabling them.


com.ssh.sft
Interface Policies.Remove

All Known Subinterfaces:
Policies.All, Policies.Move, Policies.MoveDir, Policies.RemoveDir
All Known Implementing Classes:
AbstractPolicy
Enclosing interface:
Policies

public static interface Policies.Remove

The policy interface for removing files.


Method Summary
 booleanremove(File file)
          Invoked when a file is about to be removed.
 

Method Detail

remove

public boolean remove(File file)
               throws AbortedException
Invoked when a file is about to be removed.

Parameters:
file - The file to be removed
Returns:
true if the file may be removed, false otherwise
Throws:
AbortedException - if the entire ongoing operation should be aborted



 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more