Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > Serv-U Managed FTS & FTP Documentation > 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: 817 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