Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Secure Communication Module User's Guide

10.1 Developing an FTPS Application

The steps discussed here describe how to write an FTPS application. They are similar to writing an FTP application with the addition of a secure connection.


This chapter describes the use of FTP over a secure channel. It assumes that you understand the FTP package (Rogue Wave Internet Protocols Module) and the Secure Sockets package.

  1. Set up for a secure connection. These steps are identical to writing any application that uses secure sockets.

  2. Construct a client RWFtpsClient, passing it the context and then using RWFtpsReply to connect to an FTP server. (The next three steps are illustrated in Section 10.3, "Using the FTPS Package.")

  3. Establish a secure connection with the server using the AUTH command on the client. Once established, use the standard USER/PASS login sequence.

  4. (Optional) Enable data encryption if you are transferring confidential data, using first the PBSZ protocol command followed by the PROT command. By default, the data channel is unencrypted.

  5. Perform whatever protocol action you want, the same as when using an unsecured FTP application. See Chapter 4, "The FTP Package," in the Internet Protocols Module User's Guide.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.