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 ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.