Reloading failure to creat users with Java dynamically

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
sfwang
500 Command not understood
Posts: 1
Joined: 2012-10-07 09:22

Reloading failure to creat users with Java dynamically

#1 Post by sfwang » 2012-10-07 10:05

I followed the post titled "Dynamic user creating with PHP" ,trying to create users dymamically.
Everything goes well except that when I call ("*/FileZilla Server.exe","/reload-config") using Runtime.getRuntime().exec() in Java, it just does not work. On XP the exit value returned by waitFor() is 1 while on Win7 it's 0.
But when I manually run -- "D:\Program Files\FileZilla Server\FileZilla Server.exe" /reload-config -- in cmd window as well as called by system() in C/C++, it works perferct. Does anyone meet with the same problem?

Post Reply