Asking every start Stop server?
Moderator: Project members
Asking every start Stop server?
Hello,
Somebody know where to configurate FileZilla to stop asking me if Stop or running the server each time that start the PC.
Thank you for your help.
Lino
Somebody know where to configurate FileZilla to stop asking me if Stop or running the server each time that start the PC.
Thank you for your help.
Lino
Re: Asking every start Stop server?
Simply reinstall and select the desired startup options during setup.
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-07-03 09:15
- First name: Steve
- Last name: Jarvis
Re: Asking every start Stop server?
Is it possible to configure this from Filezilla Server.xml?
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-07-03 09:15
- First name: Steve
- Last name: Jarvis
Re: Asking every start Stop server?
I have two problems.
The first is that I can't identify which options I need to select to change this behaviour.
The second is that I need to be able to do an "unattended" install.
Steve
The first is that I can't identify which options I need to select to change this behaviour.
The second is that I need to be able to do an "unattended" install.
Steve
Re: Asking every start Stop server?
Not possible unattanded. You would have to change the installer script.
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-07-03 09:15
- First name: Steve
- Last name: Jarvis
Re: Asking every start Stop server?
I assume that you mean the NSIS script. I'm quite happy changing NSIS scripts, but having looked through it I still don't understand what I would need to set.
I have also run the installer and can see no option that would obviously relate to generating a prompt when the server is stopped or started.
Is it a side effect of some other setting?
I have also run the installer and can see no option that would obviously relate to generating a prompt when the server is stopped or started.
Is it a side effect of some other setting?
Re: Asking every start Stop server?
It is in a droplist as you run the installer.. "install as service started manually"steveatquinata wrote:I assume that you mean the NSIS script. I'm quite happy changing NSIS scripts, but having looked through it I still don't understand what I would need to set.
I have also run the installer and can see no option that would obviously relate to generating a prompt when the server is stopped or started.
Is it a side effect of some other setting?
From the NSIS script:
Code: Select all
!insertmacro MUI_INSTALLOPTIONS_READ $R0 "StartupOptions.ini" "Field 2" "State"
StrCmp $R0 "Do not install as service, start server automatically (not recommended)" Install_Standard_Auto
DetailPrint "Installing Service..."
StrCmp $R0 "Install as service, started manually" Install_AsService_Manual
ExecWait '"$INSTDIR\FileZilla Server.exe" /install auto'
goto done
Install_AsService_Manual:
ExecWait '"$INSTDIR\FileZilla Server.exe" /install'
goto done
To change the default install state:
From StartupOptions.ini
Code: Select all
[Field 2]
Type=Droplist
State=Install as service, started with Windows (default)
ListItems=Install as service, started with Windows (default)|Install as service, started manually|Do not install as service, start server automatically (not recommended)
Left=0
Right=-1
Top=11
Bottom=200
-
- 500 Command not understood
- Posts: 4
- Joined: 2009-07-03 09:15
- First name: Steve
- Last name: Jarvis
Re: Asking every start Stop server?
This is fine, but it doesn't stop the "Question. Stop Server?" prompt from appearing when I try to stop the server.
The way round the problem turns out to be not to use the /start and /stop options at all, but to start and stop the service using
net stop "FileZilla Server FTP server"
net start "FileZilla Server FTP server"
This stops and starts the server with no problem and no unwanted prompts.
The way round the problem turns out to be not to use the /start and /stop options at all, but to start and stop the service using
net stop "FileZilla Server FTP server"
net start "FileZilla Server FTP server"
This stops and starts the server with no problem and no unwanted prompts.