How do I load files into MEDIA directory by default.

Read 3371 times
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.
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
Last Edit: May 14, 2015, 04:45:05 pm by Roger