Primary

File Import

In the Groups > File Import section you can upload files via FTP and import them.

These facilities are provided:

  • Import Files – Here you can import file data in bulk from a text file, after uploading files via FTP to the folder managed by Groups File Access (/var/www/groups/wp-content/uploads/groups-file-access‬).

Screen Shot 2015-03-20 at 19.08.53

  • Export Files – Here you can modify existing file entries in bulk. This will create a text file (in the supported import file-format) with current data for all files managed in the Groups > Files section.

Screen Shot 2015-03-20 at 19.17.19

  • Scan for Files – Here you can add new files in bulk. This will create a text file (in the supported import file-format) with current data for all files in the folder managed by Groups File Access.

Screen Shot 2015-03-20 at 19.17.28

The accepted file-format is a plain text file with values separated by tabs provided on one line per file and in this order:

filename file_id name description max_count group_names

Description of fields:

‪filename – required – The full filename of the file uploaded to the /var/www/groups/wp-content/uploads/groups-file-access directory. Do not include the full path. A line that refers to the filename of an existing entry will update the information related to the entry.‬

‪file_idoptional – The Id of an existing file entry. If provided, the existing file will be deleted and the new file will be related to the entry.‬

‪nameoptional – A descriptive name for the file. If left empty, the filename will be used.‬

‪descriptionoptional – A detailed description of the file.‬

‪max_countoptional – The maximum number of allowed accesses to the file per user. Leave empty or use 0 for unlimited accesses.‬

‪group_namesoptional – The names of the groups that are allowed to access the file, separated by comma. If empty, the file can not be accessed until a group is assigned.‬

The files must have been uploaded to the ‪/var/www/groups/wp-content/uploads/groups-file-access‬ directory before starting to import.