FileZilla Server3: Batch Files: Difference between revisions
Jump to navigation
Jump to search
FileZilla Server3: Batch Files (view source)
Revision as of 08:16, 24 November 2010
, 24 November 2010Reverted edits by Upazixorys (Talk); changed back to last version by Ric
Upazixorys (talk | contribs) No edit summary |
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric) |
||
Line 1: | Line 1: | ||
{{Uc nav FileZilla Server3}} | {{Uc nav FileZilla Server3}} | ||
'''Batch Files''' | '''Batch Files''' | ||
Line 19: | Line 18: | ||
Add the last two lines as shown below: | Add the last two lines as shown below: | ||
<pre> | |||
..\usr\local\php\php.exe -n ..\unicon\main\start_servers.php | ..\usr\local\php\php.exe -n ..\unicon\main\start_servers.php | ||
start ..\filezilla_server\portable\fzp_start.bat | start ..\filezilla_server\portable\fzp_start.bat | ||
..\filezilla_server\filezilla_ftpd\zilla_admin.bat | ..\filezilla_server\filezilla_ftpd\zilla_admin.bat | ||
</pre> | |||
Edit file '''Stop_Server.bat''' | Edit file '''Stop_Server.bat''' | ||
Add the last line as shown below: | Add the last line as shown below: | ||
<pre> | |||
..\usr\local\php\php.exe -n ..\unicon\main\stop_servers.php | ..\usr\local\php\php.exe -n ..\unicon\main\stop_servers.php | ||
start ..\filezilla_server\filezilla_ftpd\zilla_stop.bat | start ..\filezilla_server\filezilla_ftpd\zilla_stop.bat | ||
</pre> | |||
The above two batch files start and stop both servers these are run as a standard program. | The above two batch files start and stop both servers these are run as a standard program. | ||
Line 43: | Line 42: | ||
Edit file '''Start_Server.bat''' | Edit file '''Start_Server.bat''' | ||
<pre> | |||
usr\local\php\php.exe -n unicon\main\start_servers.php | usr\local\php\php.exe -n unicon\main\start_servers.php | ||
start filezilla_server\portable\fzp_start.bat | start filezilla_server\portable\fzp_start.bat | ||
filezilla_server\filezilla_ftpd\zilla_admin.bat | filezilla_server\filezilla_ftpd\zilla_admin.bat | ||
</pre> | |||
Edit file '''Stop_Server.bat''' | Edit file '''Stop_Server.bat''' | ||
<pre> | |||
usr\local\php\php.exe -n unicon\main\stop_servers.php | usr\local\php\php.exe -n unicon\main\stop_servers.php | ||
start filezilla_server\filezilla_ftpd\zilla_stop.bat | start filezilla_server\filezilla_ftpd\zilla_stop.bat | ||
</pre> | |||
Line 64: | Line 63: | ||
Add the last two lines as shown below: | Add the last two lines as shown below: | ||
<pre> | |||
..\usr\local\php\php.exe -n ..\unicon\main\start_servers.php | ..\usr\local\php\php.exe -n ..\unicon\main\start_servers.php | ||
start ..\filezilla_server\filezilla_ftpd\zilla_start.bat | start ..\filezilla_server\filezilla_ftpd\zilla_start.bat | ||
..\filezilla_server\filezilla_ftpd\zilla_admin.bat | ..\filezilla_server\filezilla_ftpd\zilla_admin.bat | ||
</pre> | |||
Edit file '''Stop_Server.bat''' | Edit file '''Stop_Server.bat''' | ||
Add the last line as shown below: | Add the last line as shown below: | ||
<pre> | |||
..\usr\local\php\php.exe -n ..\unicon\main\stop_servers.php | ..\usr\local\php\php.exe -n ..\unicon\main\stop_servers.php | ||
start ..\filezilla_server\filezilla_ftpd\zilla_stop.bat | start ..\filezilla_server\filezilla_ftpd\zilla_stop.bat | ||
</pre> | |||
The above two batch files start and stop both servers these are run as a standard program. | The above two batch files start and stop both servers these are run as a standard program. | ||
Line 88: | Line 87: | ||
Edit file '''Start_Server.bat''' | Edit file '''Start_Server.bat''' | ||
<pre> | |||
usr\local\php\php.exe -n unicon\main\start_servers.php | usr\local\php\php.exe -n unicon\main\start_servers.php | ||
start filezilla_server\portable\fzp_start.bat | start filezilla_server\portable\fzp_start.bat | ||
filezilla_server\filezilla_ftpd\zilla_admin.bat | filezilla_server\filezilla_ftpd\zilla_admin.bat | ||
</pre> | |||
Edit file '''Stop_Server.bat''' | Edit file '''Stop_Server.bat''' | ||
<pre> | |||
usr\local\php\php.exe -n unicon\main\stop_servers.php | usr\local\php\php.exe -n unicon\main\stop_servers.php | ||
start filezilla_server\filezilla_ftpd\zilla_stop.bat | start filezilla_server\filezilla_ftpd\zilla_stop.bat | ||
</pre> | |||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 108: | Line 107: | ||
Add the last two lines as shown below: | Add the last two lines as shown below: | ||
<pre> | |||
..\usr\local\php\php.exe -n ..\unicon\main\service_install_run.php | ..\usr\local\php\php.exe -n ..\unicon\main\service_install_run.php | ||
..\filezilla_server\filezilla_ftpd\zilla_service_start.bat | ..\filezilla_server\filezilla_ftpd\zilla_service_start.bat | ||
..\filezilla_server\filezilla_ftpd\zilla_admin.bat | ..\filezilla_server\filezilla_ftpd\zilla_admin.bat | ||
</pre> | |||
Edit file '''Service_Stop_Uninstall.bat''' | Edit file '''Service_Stop_Uninstall.bat''' | ||
Add the last line as shown below: | Add the last line as shown below: | ||
<pre> | |||
..\usr\local\php\php.exe -n ..\unicon\main\service_stop_uninstall.php | ..\usr\local\php\php.exe -n ..\unicon\main\service_stop_uninstall.php | ||
..\filezilla_server\filezilla_ftpd\zilla_service_stop.bat | ..\filezilla_server\filezilla_ftpd\zilla_service_stop.bat | ||
</pre> | |||
The above two batch files install/start and stop/uninstalls both server services. | The above two batch files install/start and stop/uninstalls both server services. | ||
Line 133: | Line 132: | ||
Edit file '''Service_Install_Run.bat''' | Edit file '''Service_Install_Run.bat''' | ||
<pre> | |||
usr\local\php\php.exe -n unicon\main\service_install_run.php | usr\local\php\php.exe -n unicon\main\service_install_run.php | ||
filezilla_server\filezilla_ftpd\zilla_service_start.bat | filezilla_server\filezilla_ftpd\zilla_service_start.bat | ||
filezilla_server\filezilla_ftpd\zilla_admin.bat | filezilla_server\filezilla_ftpd\zilla_admin.bat | ||
</pre> | |||
Edit file '''Service_Stop_Uninstall.bat''' | Edit file '''Service_Stop_Uninstall.bat''' | ||
<pre> | |||
usr\local\php\php.exe -n unicon\main\service_stop_uninstall.php | usr\local\php\php.exe -n unicon\main\service_stop_uninstall.php | ||
filezilla_server\filezilla_ftpd\zilla_service_stop.bat | filezilla_server\filezilla_ftpd\zilla_service_stop.bat | ||
</pre> | |||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' |