SolarWinds | Serv-U
Contact Support: 866-530-8040 | Contact Sales: 855-498-4154 or email | Show Flags | Login
Serv-U FTP Server Home Page
The Best for Less
Secure file transfer & share files
from anywhere - affordably

FREE for 14 Days
Full featured trial with secure
FTP, file sharing & web transfer


Starting a Batch File Using Serv-U's exec Command  -  KB Article #1418

Related Articles --

When enabled Serv-U can allow FTP clients to start programs. In some cases starting a batch file is desired. To start a batch file run either CMD.EXE (NT based OSs) or COMMAND.COM (9x/Me) followed by a space and the path of the batch file you want to run. For example:

site exec CMD.exe "C:\Temp\SomeBatchFile.bat"

NOTE: Giving FTP clients the ability to run programs through Serv-U is a dangerous option. Please use this feature with great care.