Stopping FTP via Command Prompt

M

Matthew

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
 
R

Ray at

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
 
P

Paul R. Sadowski

There are also WSH scripts to do this in \Inetpub\AdminScripts
startftp.vbs, stopftp.vbs, pauseftp.vbs, contftp.vbs, etc...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top