XFileSharing Pro - how to change files dir

Message
Author
snc
Posts: 43
Joined: Oct 14, 2010 12:51 pm

how to change files dir

#1 Postby snc » Nov 18, 2010 12:09 am

How can i change directory of uploaded files. I have raid 0 but root on raid1 and i have to change file directory.

Anturaju93
Posts: 91
Joined: May 13, 2010 6:46 pm

#2 Postby Anturaju93 » Nov 18, 2010 5:21 am

Edit your XFSConfig.pm from your file server.

Code: Select all

# Directory for uploaded files, witout trailing /
 upload_dir => '/path_to/cgi-bin/upload',

snc
Posts: 43
Joined: Oct 14, 2010 12:51 pm

#3 Postby snc » Nov 18, 2010 11:07 am

thx, its work, is ok that i put chmod 777 to my /home/uploads ?

Anturaju93
Posts: 91
Joined: May 13, 2010 6:46 pm

#4 Postby Anturaju93 » Nov 18, 2010 11:12 am

Yes, uploads folder must be 777.


Return to “XFileSharing Pro”