Importing users via CSV files

Importing users via CSV files

Sometimes there is a need to import users though a CSV file. This can be done using a combination of PowerShell and the srxCFG utility.

Lets assume we have a CSV file, users.csv, which looks like this:


user1,User Number 1,

user2,User 2,

user3,User 3,

Create a PowerShell script, ImportUsersCsv.ps1 containing the following: (note that your Admin password and Server will be different:

$users = import-csv users.csv

ForEach ($user in $users) {

$username = $($user.Username)

$fullname = $($user.FullName)

$email = $($user.EmailAddress)

.\srxCfg.exe /AdminUser=Administrator /AdminPass=test /Server=SftpServer /Cmd=AddUser /User=$username /FullName=$fullname /EmailAddress=$email


This PS script will pull in the users.csv file into an array, $users. Next a loop is performed to pull the Username, Fullname and Email address members from each array item and then feeds those items into the srxCfg.exe utility in the \Program Files\South River Technologies\Titan FTP Server\ folder.

Execute the PS script and the users will be imported in to the system.

    • Related Articles

    • How To: Give Users Admin Permissions

      Question How do I give a user admin capability? Reasoning Managing and administering Titan can be time consuming so having the ability to delegate some of the tasks to a second user would be very helpful. Answer You can enable the administrator ...
    • Removing a user via the Registry

      Problem: Corrupted user accounts and how to remove a user via the Registry Answer: Have you restarted the Titan Daemon from the Services Applet panel? If so, and the problem still persists, please do the following: If the configuration for Titan has ...
    • How To: Enable PGP Encryption

      Question How do I encrypt files in transit or at rest? Reasoning Keeping files secure is always a concern. Either at rest once they are uploaded to Cornerstone or in transit while the file is still being uploaded even if using a secure protocol. If ...
    • Video: Zipping Files Event

      This tutorial covers the steps to create an automated event which will zip files up when they arrive on the server.
    • Deleting old log files

      The Run File/Script action in the Titan/Cornerstone 2019 Events Management system can be used to delete old log files from the system. the parameters must be File/Script: cmd.exe parameter 1: /c del /F /Q parameter 2: "<the target of the delete ...