99 <table> |
99 <table> |
100 <tr><td>None</td></tr> |
100 <tr><td>None</td></tr> |
101 </table> |
101 </table> |
102 <a NAME="FtpReply.__init__" ID="FtpReply.__init__"></a> |
102 <a NAME="FtpReply.__init__" ID="FtpReply.__init__"></a> |
103 <h4>FtpReply (Constructor)</h4> |
103 <h4>FtpReply (Constructor)</h4> |
104 <b>FtpReply</b>(<i>url, parent=None</i>) |
104 <b>FtpReply</b>(<i>url, accessHandler, parent=None</i>) |
105 <p> |
105 <p> |
106 Constructor |
106 Constructor |
107 </p><dl> |
107 </p><dl> |
108 <dt><i>url</i></dt> |
108 <dt><i>url</i></dt> |
109 <dd> |
109 <dd> |
110 requested FTP URL (QUrl) |
110 requested FTP URL (QUrl) |
|
111 </dd><dt><i>accessHandler</i></dt> |
|
112 <dd> |
|
113 reference to the access handler (FtpAccessHandler) |
111 </dd><dt><i>parent</i></dt> |
114 </dd><dt><i>parent</i></dt> |
112 <dd> |
115 <dd> |
113 reference to the parent object (QObject) |
116 reference to the parent object (QObject) |
114 </dd> |
117 </dd> |
115 </dl><a NAME="FtpReply.__cssLinkClass" ID="FtpReply.__cssLinkClass"></a> |
118 </dl><a NAME="FtpReply.__cssLinkClass" ID="FtpReply.__cssLinkClass"></a> |
145 <b>__doFtpCommands</b>(<i></i>) |
148 <b>__doFtpCommands</b>(<i></i>) |
146 <p> |
149 <p> |
147 Private slot doing the sequence of FTP commands to get the requested result. |
150 Private slot doing the sequence of FTP commands to get the requested result. |
148 </p><a NAME="FtpReply.__doFtpLogin" ID="FtpReply.__doFtpLogin"></a> |
151 </p><a NAME="FtpReply.__doFtpLogin" ID="FtpReply.__doFtpLogin"></a> |
149 <h4>FtpReply.__doFtpLogin</h4> |
152 <h4>FtpReply.__doFtpLogin</h4> |
150 <b>__doFtpLogin</b>(<i>username, password</i>) |
153 <b>__doFtpLogin</b>(<i>username, password, byAuth=False</i>) |
151 <p> |
154 <p> |
152 Private method to do the FTP login with asking for a username and password, |
155 Private method to do the FTP login with asking for a username and password, |
153 if the login fails with an error 530. |
156 if the login fails with an error 530. |
154 </p><dl> |
157 </p><dl> |
155 <dt><i>username</i></dt> |
158 <dt><i>username</i></dt> |
156 <dd> |
159 <dd> |
157 user name to use for the login (string) |
160 user name to use for the login (string) |
158 </dd><dt><i>password</i></dt> |
161 </dd><dt><i>password</i></dt> |
159 <dd> |
162 <dd> |
160 password to use for the login (string) |
163 password to use for the login (string) |
|
164 </dd><dt><i>byAuth</i></dt> |
|
165 <dd> |
|
166 flag indicating that the login data was provided by an |
|
167 authenticator (boolean) |
161 </dd> |
168 </dd> |
162 </dl><dl> |
169 </dl><dl> |
163 <dt>Returns:</dt> |
170 <dt>Returns:</dt> |
164 <dd> |
171 <dd> |
165 tuple of two flags indicating a successful login and |
172 tuple of two flags indicating a successful login and |