Centova Technologies Forum

Centova Cast v3 => General discussion => Topic started by: Barnet Community Radio on May 13, 2015, 05:55:15 am

Title: How do I load files into MEDIA directory by default.
Post by: Barnet Community Radio on May 13, 2015, 05:55:15 am
When users upload files, they upload into

/usr/local/centovacast/var/vhosts/********/var/spool/

Is this correct?

Personally for us, it would be much better for the root directory for uploads to be

/usr/local/centovacast/var/vhosts/********/var/spool/media/ as we have created particular folders inside this directory.

Is this possible?

CK.
Title: Re: How do I load files into MEDIA directory by default.
Post by: Roger on May 14, 2015, 04:33:07 pm
Hello en5radio,

What you probably mean is that the initial or root directory for FTP users is .../var/spool, this is true, and the reason for this is because there are other directories on this path that need to be accessible by the user such as "ondemand" and "playlists".

I really don't see the need to change this, because media files always go in the "media" directory anyway, or else they won't be read by the media library or the autoDJ.

That said, if you really want to change the root directory for FTP users, you can do that in /usr/local/centovacast/etc/ftp/ftppasswd, although please notice that this procedure is unsuported and this file may be overwritten at any time by Centova Cast.


HTH