Command | Description | Usage |
chgrp | Change the group of a folder in the virtual filesystem | chgrp group virtualpath e.g. chgrp mygroup /test |
chmod | Change the permissions of a folder in the virtual filesystem. Uses Unix-style permissions. |
chmod [u|g|o][+|=|-]permissions[,]... virtualpath (permissions in Unix format, either octal or synmbolic
using r (read), w (write) and x (execute) e.g. chmod u=rwx,g=rx,o=r /test The operator + causes the selected mode to be added to the existing file mode; - removes the selected mode; and = causes them to be assigned and all other modes removed. 'u' designates owner permissions, 'g' represents group permissions, and 'o' represents the rest of the world's permissions. |
chmodx | Change the extended permissions of a folder in the virtual filesystem. Uses CompleteFTP permissions. |
chmodx [u|g|o][+|=|-]extendedpermission[,]... virtualpath (permissions must be one of those listed below e.g. chmodx u+DirList /test) The operator + causes the selected mode to be added to the existing file mode; - removes the selected mode; and = causes them to be assigned and all other modes removed. 'u' designates owner permissions, 'g' represents group permissions, and 'o' represents the rest of the world's permissions.
|
chown | Change the owner of a folder in the virtual filesystem | chown username virtualpath e.g. chown myuser /test |
folderadd | Create a new folder in the virtual filesystem. For Windows virtual folders, the Windows folder specified will be created if it does not exist. | folderadd -t virtual|windows|networkmacro -v virtualpath [-p path] [-u username] [-g groupname] [-c]
e.g. folderadd -t windows -v /test/temp -p d:\\temp -c (to create a virtual Windows folder pointing to d:\temp) |
encrypt | Encrypt a file in the virtual filesystem. | encrypt [-h] -s sourcefile -d destination
e.g. encrypt -s /home/myuser/test_plain.txt -d /home/myuser/test_encrypted.txt |
decrypt | Decrypt a file in the virtual filesystem that has previously been encrypted. | decrypt [-h] -s sourcefile -d destination
e.g. decrypt -s /home/myuser/test_encrypted.txt -d /home/myuser/test_plain.txt |
folderdel | Delete an existing folder in the virtual filesystem | folderdel -v virtualpath |
foldermod | Modify an existing Windows folder in the virtual filesystem | foldermod -v virtualpath -p pathtochangeto
e.g. foldermod -v /test/temp -p d:\\downloads (to modify /test/temp to point to d:\\downloads). Note that foldermod can only be used for Windows folders. |
Command | Description | Usage |
useradd | Add a new non-Windows user. Optionally, the MD5 hash of the password can be set rather than using the raw password (which will be converted to a hash). | useradd [-h] [-i] [-c comment] [-d Windows_home_dir] [-n fullname] (-p hashedpassword|-r rawpassword) [-k publickeystring] username
e.g. useradd -c "Test user" -n "Tester" -r test1234 test e.g. useradd -c "Test user" -n "Tester" -r test1234 -d d:\\temp test (sets d:\temp as test's home directory) e.g. useradd -r test1234 -k AAAAB3NzaC....7gKtM= test |
usermod | Modify an existing user. | usermod [-h] [-c comment] [-d home_dir] [-e true|false] [-n fullname] [-k publickeystring] [-p hashedpassword|-r rawpassword] [-t tcpipprotocols] username
e.g. usermod -t =ftp,ftps,sftp,scp username (to set these protocols for this user) e.g. usermod -t +ssh,sshforwarding username (to add these protocols for this user) e.g. usermod -d d:\\temp username (to set d:\\temp as /Home/username) e.g. usermod -e false username (to disable this user) |
userdel | Delete a user. This cannot be undone! | userdel username |
Command | Description | Usage |
start | Start all sites (other than the admin site, which is required to be running to access this command) | start |
stop | Stop all sites (other than the admin site, which is required to be running to access this command). Use with caution, as calling it will stop all public sites. | stop |
Command | Description | Usage |
help | Display help text for commands | help commmand e.g. help useradd |
logout | End current administrator session | logout |
quit | End current administrator session | quit |
version | Returns the current server version | version |