X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf7f7d5d96c178d35ceb96fe74ea3eb13dd009de..f7df82831082ebd4a3eecd8cea9beb5389b8d411:/interface/wx/protocol/ftp.h diff --git a/interface/wx/protocol/ftp.h b/interface/wx/protocol/ftp.h index 364e5e434d..aecb0ddb3b 100644 --- a/interface/wx/protocol/ftp.h +++ b/interface/wx/protocol/ftp.h @@ -3,7 +3,7 @@ // Purpose: interface of wxFTP // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -112,6 +112,22 @@ public: + //@{ + /** + Connect to the FTP server to default port (21) of the specified @a host. + */ + virtual bool Connect(const wxString& host); + + /** + Connect to the FTP server to any port of the specified @a host. + By default (@a port = 0), connection is made to default FTP port (21) + of the specified @a host. + + @since 2.9.1 + */ + virtual bool Connect(const wxString& host, unsigned short port); + //@} + /** @name Functions for managing the FTP connection */