Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > Serv-U File Server Administrator Guide > Server overview > Automated file management

Automated file management

Created by Anthony.Rinaldi_ret, last modified by Anthony.Rinaldi_ret on Jul 20, 2016

Views: 107 Votes: 0 Revisions: 2

Using file management rules, you can automatically remove or archive files from the file server. You can configure automated file management rules at the server and domain level. If they are specified at the server level, the file management rules are accessible to all users of the file server. If they are specified at the domain level, they are only accessible to users belonging to that domain.

Depending on the file system, Serv-U uses the creation or change date of files to determine the expiration date. On Windows, the creation date of the file is used to determine when a file expires. On Linux, the change date is used to determine the expiration date. The change date is updated whenever the metadata or index node (inode) of the file is modified. If the contents or attributes (such as the permissions) of the file are modified, the change date is also updated.

The change date is not modified if the file is read from.

The file management rules apply recursively to all files within the folder for which they are configured, and not only to those that have been uploaded through Serv-U. This way you can manage files that are transferred by clients, or that are copied to the folder outside of Serv-U.

The folder structure is not affected by the file management rules. When expired files are deleted or moved, the folders themselves remain intact.

The file management rules run hourly in the background. For this reason, there can be an hour delay before Serv-U deletes or moves an expired file.

To monitor the status of the file management rules, you can configure a File Management Rule Success and a File Management Rule Error event under Server/Domain Details > Events. The file management rules continue to run even if deleting or moving a single file fails. For more information, see Domain events.

Define a new file management rule

  1. Navigate to Directories > File Management, and click Add.
  2. Type the path to the file or folder in the Directory Path field, or click Browse to navigate to the file or folder.
  3. Select the action you want to perform on the file:
    1. If you want to delete the file after it expires, select Delete file(s) after specified time.
    2. If you want to move the file after it expires, select Move file(s) after specified time, and then in the Destination Directory Path field, specify the folder where you want to move the file.
  4. Specify the number of days after the file creation date when the action should be executed.
  5. Click Save.

Serv-U regularly checks each file in the directory for its age, and performs the specified action on the files that meet the age criteria you specify.

Last modified
09:01, 20 Jul 2016

Tags

Classifications

Public