O'Reilly logo

Programming Windows® Services with Microsoft® Visual Basic® 2008 by Michael Gernaey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using FTP in the Service

In this section we will set up a Microsoft FTP site with an upload and a download folder with the appropriate read/write privileges. Using these directories, we can read and write files that we’ll use to pass data between data stores such as SQL Server 2005. I’m using the Microsoft FTP Publishing Service on Windows Server 2003; however, this process will work on Windows XP, Windows 2000, and most other FTP Servers.

Creating FTP Directories

I have created an upload and download directory beneath the FTP Home Directory, which in my case is c:\inetpub\ftproot. I have assigned write privileges to the upload directory and read privileges to the download directory, and set the anonymous logons to true. Microsoft FTP Publishing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required