OK interesting situation follows....
I have a system that creates a dedicated folder on the server (running apache / redhat / php / mysql) for each new client that registers (aka. personal folder)
This 'personal folder' is where they upload large files via http interface (php) - there can be quite a few aswell.
I wish to grant them FTP access to their personal folder only - so, obviously, they wouldn't be able to see other clients folders.
This ftp access would be using their username and password already given to them (and stored in mysql db).
Preferably, the clients could access (via ftp) the folders via a subdomain of the html interface (e.g. http://clients.mywork.com/ for ftp and http://www.mywork.com/ for the html)
Therefore, my question is - is it possible to extract the username and password from the mysql db and generate an ftp client automatically with restricted access to their folder only?
Any help greatly appreciated.
Thanks,
cjb.