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

Uploading Data Using FTP

In the previous section, we used the FTP class to download files from our local FTP server and store them locally. It would have been just as easy to download the files from a remote FTP Server and store them on any network-reachable server share.

Another situation that might arise is where files that are accessible by a service are required on a remote server that is only accessible through the FTP protocol. Files stored on the FTP server might have been generated by our service, a database server that exports data, or another process capable of generating file output.

Updating the FTP Class

The nice thing is that our FTP class already has the ability to send files via FTP to a local or remote server. However, it currently ...

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