Matthew
02-25-2004, 03:02 PM
I was looking to find a way to stop the IIS FTP service
via the command prompt. I know that you can stop the www
service by doing a net stop w3svc. Would anyone know what
this equivalent is for ftp and smtp?
Thanks,
Matthew
Ray at
02-25-2004, 03:27 PM
net stop msftpsvc
net stop smtpsvc
If you're wondering about service names, one way to get them is:
Right click My Computer
Click Manage
Go to Services and Applications\Services
Double click the service
The top value, Service Name:, is the command line service name. You can
also use the friendly name in a NET STOP by enclosing it in quotes, example:
net stop "FTP Publishing Service"
Ray at work
"Matthew" <anonymous@discussions.microsoft.com> wrote in message
news:159b01c3fbb0$6a49c060$a101280a@phx.gbl...
> I was looking to find a way to stop the IIS FTP service
> via the command prompt. I know that you can stop the www
> service by doing a net stop w3svc. Would anyone know what
> this equivalent is for ftp and smtp?
>
> Thanks,
>
> Matthew
Ray at
02-25-2004, 03:27 PM
net stop msftpsvc
net stop smtpsvc
If you're wondering about service names, one way to get them is:
Right click My Computer
Click Manage
Go to Services and Applications\Services
Double click the service
The top value, Service Name:, is the command line service name. You can
also use the friendly name in a NET STOP by enclosing it in quotes, example:
net stop "FTP Publishing Service"
Ray at work
"Matthew" <anonymous@discussions.microsoft.com> wrote in message
news:159b01c3fbb0$6a49c060$a101280a@phx.gbl...
> I was looking to find a way to stop the IIS FTP service
> via the command prompt. I know that you can stop the www
> service by doing a net stop w3svc. Would anyone know what
> this equivalent is for ftp and smtp?
>
> Thanks,
>
> Matthew
Paul R. Sadowski
02-25-2004, 03:36 PM
There are also WSH scripts to do this in \Inetpub\AdminScripts
startftp.vbs, stopftp.vbs, pauseftp.vbs, contftp.vbs, etc...
"Matthew" <anonymous@discussions.microsoft.com> wrote in message
news:159b01c3fbb0$6a49c060$a101280a@phx.gbl...
>I was looking to find a way to stop the IIS FTP service
> via the command prompt. I know that you can stop the www
> service by doing a net stop w3svc. Would anyone know what
> this equivalent is for ftp and smtp?
>
> Thanks,
>
> Matthew
Paul R. Sadowski
02-25-2004, 03:36 PM
There are also WSH scripts to do this in \Inetpub\AdminScripts
startftp.vbs, stopftp.vbs, pauseftp.vbs, contftp.vbs, etc...
"Matthew" <anonymous@discussions.microsoft.com> wrote in message
news:159b01c3fbb0$6a49c060$a101280a@phx.gbl...
>I was looking to find a way to stop the IIS FTP service
> via the command prompt. I know that you can stop the www
> service by doing a net stop w3svc. Would anyone know what
> this equivalent is for ftp and smtp?
>
> Thanks,
>
> Matthew