Creating an FTP Activity
To demonstrate some of what I’ve described so far in the chapter, I decided to create an activity many of us writing business process software will (hopefully) find useful—an FTP activity. This activity, FtpGetFileActivity, retrieves files from a remote FTP server using the built-in .NET Web-based FTP classes. It is possible to use those same classes for writing files to remote FTP resources, but I leave that activity for you to create as an exercise.
I’ll work under the assumption that you have a known (and correctly configured) FTP site to work with. For the purposes of discussion here, I’ll use the well-known Internet ...