Run WS FTP Pro Client as a Windows Service with AlwaysUp

How to Run WS FTP Pro Client as a Windows Service with AlwaysUp

Launch your WS FTP Pro script as soon as your computer boots and run it constantly, every 30 minutes. No need to log on to start FTP'ing your files.

WS FTP Professional, created by Ipswitch, is the world’s most popular, commercial FTP client. Its powerful scripting capabilities make it easy to transfer files and folders on demand, without having to interact with the GUI.

To run a WS FTP Pro script every 30 minutes as a Windows Service with AlwaysUp:

  1. If WS FTP Pro isn't installed on your computer, please download, install and configure it now. Please ensure that your WS FTP Pro script works as you expect before attempting to install it as a service!

    For this tutorial, we have created a batch file that uses WS FTP to transfer the contents of the "C:\FilesToFTP" folder to our web site:

    WS FTP Pro batch file

    The batch file has been saved in the WS FTP installation folder - "C:\Program Files (x86)\Ipswitch\WS_FTP 12". (We'll need that path later on.)

    Please see the WS FTP Professional Tools Guide for a full listing of the command line flags available to your scripts.

  2. Download and install AlwaysUp, if necessary.

  3. Start AlwaysUp.

  4. Select Application > Add to open the Add Application window:

    Add Application

  5. On the General tab:

    • In the Application field, enter the full path to the batch file containing your WS FTP Pro commands. We will specify ours (recall that we saved it in the WS FTP Pro installation directory).

    • In the Name field, enter the name that you will call the application in AlwaysUp. We have specified FTP but you can specify another value if you like.

    WS FTP Pro Windows Service: General Tab

  6. Move to the Restart tab, where we will specify how often to run your FTP script.

    • To run the script every 30 minutes, check the Not immediately, but and On the next hour or half-hour boxes.

      (Note that you can specify another period by selecting the After box and entering the number of minutes between each run.)

    • We also recommend checking the Minimize event logging... box. If not, AlwaysUp will write 3-4 entries to the Windows Event Log each time your script is run - a potential annoyance for this scenario.

    WS FTP Pro Windows Service: Restart Tab

  7. Next, click over to the Logon tab and:

    • Check the Instead of running the application... box at the top and enter the username and password of the account where you installed WS FTP Pro - probably the account you are logged in to right now. AlwaysUp needs to run WS FTP Pro as this user so that the software can find the settings that have been configured.

    • Check the When a user logs on, don't show... checkbox at the bottom. If not, you may get an annoying notification from the Interactive Services Detection Dialog whenever your batch file is invoked.

    WS FTP Pro Windows Service: Logon Tab

  8. And finally, switch to the Startup tab and check the Ensure that the Windows Networking components have started box. This lets AlwaysUp know that WS FTP Pro needs TCP/IP networking support to do its work.

    WS FTP Pro Windows Service: Startup Tab

  9. We are now done configuring WS FTP Pro to run as a service so click the Save button to record your settings. In a few seconds, an entry for FTP (or whatever you called it) will show up in the AlwaysUp window. It is not yet running though, and the state will be Stopped:

    WS FTP Pro Windows Service: Created

  10. To start your WS FTP Pro script from AlwaysUp, choose Application > Start "FTP". The application/service will start in the background and immediately FTP your files:

    WS FTP Pro Windows Service: Started

    After that first run, the service will wait until the next half hour to run. Hit the "F5" key to refresh the state of the service and click on the "Waiting" icon to see the next time your script will start:

    WS FTP Pro Windows Service: Waiting for the next run

  11. That's it! Next time your computer boots, your WS FTP Pro script will run immediately, before anyone logs on, and run again every half hour.

    We encourage you to edit WS FTP Pro in AlwaysUp and check out the many other settings that may be appropriate for your environment.



WS FTP Pro not working properly as a Windows Service?

  • Consult the AlwaysUp Troubleshooter - our online tool that can help you resolve the most common problems encountered when running an application as a windows service.
  • From AlwaysUp, select Application > Report Activity > Today... to bring up a HTML report detailing the interaction between AlwaysUp and WS FTP Pro. The AlwaysUp Event Log Messages page explains the messages that may turn up.
  • Browse the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips.
  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.5 New!

8.0 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!