Shaun (and all others in thread),
Thanks for the replies,
Let me try to better sum up what were doing and then maybe it will have a better picture of how were trying to accomplish this. We operate a web advertising business (Adwords and such) - we develop optimized web pages for the client, generate a advertising campaign and point the web ad's to that landing page. We also manage local profile pages we develop for some clients such as:
cosmetic-dentist-dallas-tx.com
or
carpet-cleaning-upholstery-care-dallas-tx.com
We do not control all of the DNS for the client domains, thus DNS could be registered at anyplace they choose. Also depending on the situation the hosting location for the web sites are sometimes at different hosting locations such as: domain.com or godaddy.com etc. etc. --
so.... we are basically trying to add custom fields to each client record the point to:
(hosting location 1) ---- ftp.(domain).com/(subfolder)
(ftp username)
(ftp password)
(hosting location 2) ---- ftp.(domain).com/(subfolder)
(ftp username)
(ftp password)
and so on and so on..... thus, when we change a clients status to suspended, a script/module or whatever is run that logs into each FTP account, moves site content into a sub folder called (suspended) and places or renames suspended.xxx into the domain folders root as index.html --- thus when the URL is navigated too the internet user sees the account suspended HTML instead of the site content.--- if/when the client fixes our issues with them we want to change there status to active in WHMCS and the script runs in reverse, change index.html to suspended.xxx and moves all site content from the suspended folder back into the root.
I guess this is problematic because we really don't sell hosting or domain registration but both of those are a part of what is necessary for the services we do perform, and we need a more efficient automated way to handle this suspension process across multiple hosting locations without all the manual FTP logins.
Sorry if this is long winded