Poco::Net

class FTPPasswordProvider

File Information

Library: Net
Package: FTP
Header: Poco/Net/FTPStreamFactory.h

Description

The base class for all password providers. An instance of a subclass of this class can be registered with the FTPStreamFactory to provide a password.

Member Summary

Member Functions: password

Constructors

FTPPasswordProvider protected

FTPPasswordProvider();

Destructor

~FTPPasswordProvider protected virtual

virtual ~FTPPasswordProvider();

Member Functions

password virtual

virtual std::string password(
    const std::string & username,
    const std::string & host
) = 0;

Provide the password for the given user on the given host.

Securely control IoT edge devices from anywhere   Connect a Device