Page 1 of 1

create user account with command line

Posted: 2006-07-13 14:43
by Krap
Hy all!

it's possible to create a user account with command line?
i must do this in a php script for example.

Thank s

Posted: 2006-07-13 16:02
by botg
Please search the forums. You can edit the xml file manually and then call "FileZilla Server.exe" /reload-config

Posted: 2006-07-19 19:07
by timstudd
What if one wanted to create a new user remotely - from another server but doesn't have access to modify the xml file or to run the command to reload-config?

Posted: 2006-07-19 19:27
by cooperspc
if you don't have access, why would you want to add a ftp user :twisted:

there are 2 ways to add users remotely

1)with the server interface setup though a open port

2)with php, with the vbs in the forum or with code to modify the xml

with the php you just need to know where the xml file is and if the safe mode of php off it's easy

Posted: 2006-07-19 19:50
by timstudd
You didn't understand my question - lets say that I have one central server. I have other servers which all run FTP servers. I want to be able to create a user on them remotely without having to log into the computer. I can't use the existing interface remotely because it has to be automated and since FZS is not running on the local (centeral) server, I cannot simply modify the xml (using php or cfm) and run the reload-config shell command. So - is there anything I can do?

Posted: 2006-07-24 02:03
by Pontiac
By the looks of it, from what was read just in this thread, the only thing that I can think of is have a program sit in the background on your, how can I put it... Client servers... that periodically reads a file on your central server. If theres a change to the file, update the XML file on your client servers, based on whats on the central server.

This would mean you would have to have either a web server, or an FTP account on your central server for the client servers to get its information.

Re:

Posted: 2019-12-12 09:52
by TomTheOne
timstudd wrote:
2006-07-19 19:50
So - is there anything I can do?
Here is a binary that helps you to manage users remotely. Windows only.
https://sourceforge.net/projects/thufilezillaapi/

Re: create user account with command line

Posted: 2019-12-12 10:23
by boco
Please don't necro anciant topics.