PDA

View Full Version : Create a ftp user


vfxjbg
03-06-2008, 06:43 PM
Hi,

I had a php script (wrote by someone esle) to create ftp user but it does not work anymore because of an update of ispmanager.

I tried to modify the code with the help, put the new variables... but it does not seem to work (I'm not really a dev...)

This is the old command

https://*******/manager/ispmgr?out=xml&authinfo=****:*****&func=user.edit&sok=yes&name=****&passwd=****&site=****&access=ftp&disklimit=0

Could you help me to modify this to make my script compatible with the ISPmanager4 ?

Thanks in advance

Wishmaster
03-07-2008, 04:34 AM
Put "LogLevel 9" into /usr/local/ispmgr/etc/ispmgr.conf, and do what you wanted to do using the control panel. Once you've done, the panel will make a request. Then, check the end lines in /usr/local/ispmgr/var/ispmgr.log. Use the data containing in the log-file for constructing your own request.

Sxandy
11-10-2014, 07:34 AM
I would like to customize the default index page that is generated when a new user is grated.
Where can I change the index that is created??

fly
11-10-2014, 11:27 AM
Are you talking about ISPmanager 4 or ISPmanager 5?

ISPmanager 4:
/usr/local/ispmgr/etc/www.skel/index.html

ISPmanager 5:
/usr/local/mgr5/etc/www.skel/index.html