XFileSharing Pro - file owner and user limitations

Message
Author
xandor
Posts: 18
Joined: Feb 10, 2012 10:21 pm

file owner and user limitations

#1 Postby xandor » Mar 31, 2012 6:25 pm

First I wonder if it is possible to change the owner of files?
I think I saw this option some time ago, tried to find it again but cant see it. (might have imagined that or confused something else like moving between server or something)

Also is it possible to limit so free users cant download several files at the same time?
I am using nginx.
It might be that my users can do that becouse I put no wait time between files (removed wait time to solve a issue with images counting as downloads, so then if someone viewed a image they couldnt download file right away).

hdmagic
Posts: 14
Joined: Feb 14, 2012 6:14 pm

#2 Postby hdmagic » Mar 31, 2012 8:09 pm

If all the files this user, you can make sql query

Code: Select all

UPDATE Files
SET usr_id = REPLACE(usr_id,'x','y')
if also folders

Code: Select all

UPDATE Folders
SET usr_id = REPLACE(usr_id,'x','y')
x- id old user
y -id new user