Bulk FTP ID Creation


#1

Is there a way to “import” a set of FTP user ids, passwords, and home folders into DreamHost’s FTP servers? It would save me a lot of time if it is possible.

Dax

Dax C. Davis

http://www.rubicontechventures.com/


#2

There is no supported mechanism for doing this.

That said, there are working code samples that demonstrate interacting with the web panel via PHP and cURL that you might be able to modify to do a “mass addition” of users if you are suitably proficient in PHP and the use of cURL. These are unsupported “hacks”, and are subject to breakage at any time should DH change the panel operation in any way (there is no API for interacting with the web panel).

http://discussion.dreamhost.com/showthreaded.pl?Cat=0&Board=forum_programming&Number=58295

Depending upon how many users you need to add, it may be worth exploring this, and then again it may not be. :wink:

–rlparker


#3

I have to admit, I’m impressed with a vendor that will let you know about “hacks.” Thanks a lot, I will look into this, and the caveat is understood. I appreciate it.

Dax

Dax C. Davis

http://www.rubicontechventures.com/


#4

Ha! Well, I remain impressed with DreamHost having hosted with them for almost 10 years now. The fact that DreamHost "let you know about (these) ‘hacks’, in the sense that they did not censor them when they were shared by other customers, does speak volumes about the kind of people they are. :wink:

That said, I think it then follows that none of us should abuse that openness by exploiting it in an abusive way. Unfortunately, this has already happened with the “add a subdomain” hack, where SEO fools automated the addition of thousands of pointless subdomains.\

This prompted DreamHost to add a CAPTCHA to the control panel that presents itself after “n” number of domains have been added to an account (breaking the utility of the, otherwise convenient and useful, code being used to add a domain programmatically).

Beware that something like this may be in place for the addition of users also (I would have put it into all the routines in the panel that could be abused in this way if I was coding it). :wink:

–rlparker