Documentation/Source/eric5.Helpviewer.Sync.FtpSyncHandler.html

changeset 2074
5cb87968aad5
parent 2060
1f3767746974
child 2367
78f6c8193d37
equal deleted inserted replaced
2071:136eb25e4314 2074:5cb87968aad5
90 <td>Private slot handling the receipt of directory listing lines.</td> 90 <td>Private slot handling the receipt of directory listing lines.</td>
91 </tr><tr> 91 </tr><tr>
92 <td><a href="#FtpSyncHandler.__doFtpCommands">__doFtpCommands</a></td> 92 <td><a href="#FtpSyncHandler.__doFtpCommands">__doFtpCommands</a></td>
93 <td>Private slot executing the sequence of FTP commands.</td> 93 <td>Private slot executing the sequence of FTP commands.</td>
94 </tr><tr> 94 </tr><tr>
95 <td><a href="#FtpSyncHandler.__doFtpLogin">__doFtpLogin</a></td>
96 <td>Private method to do the FTP login with asking for a username and password, if the login fails with an error 530.</td>
97 </tr><tr>
98 <td><a href="#FtpSyncHandler.__downloadFile">__downloadFile</a></td> 95 <td><a href="#FtpSyncHandler.__downloadFile">__downloadFile</a></td>
99 <td>Private method to downlaod the given file.</td> 96 <td>Private method to downlaod the given file.</td>
100 </tr><tr> 97 </tr><tr>
101 <td><a href="#FtpSyncHandler.__downloadFileCallback">__downloadFileCallback</a></td> 98 <td><a href="#FtpSyncHandler.__downloadFileCallback">__downloadFileCallback</a></td>
102 <td>Private method receiving the downloaded data.</td> 99 <td>Private method receiving the downloaded data.</td>
184 </dl><a NAME="FtpSyncHandler.__doFtpCommands" ID="FtpSyncHandler.__doFtpCommands"></a> 181 </dl><a NAME="FtpSyncHandler.__doFtpCommands" ID="FtpSyncHandler.__doFtpCommands"></a>
185 <h4>FtpSyncHandler.__doFtpCommands</h4> 182 <h4>FtpSyncHandler.__doFtpCommands</h4>
186 <b>__doFtpCommands</b>(<i></i>) 183 <b>__doFtpCommands</b>(<i></i>)
187 <p> 184 <p>
188 Private slot executing the sequence of FTP commands. 185 Private slot executing the sequence of FTP commands.
189 </p><a NAME="FtpSyncHandler.__doFtpLogin" ID="FtpSyncHandler.__doFtpLogin"></a> 186 </p><a NAME="FtpSyncHandler.__downloadFile" ID="FtpSyncHandler.__downloadFile"></a>
190 <h4>FtpSyncHandler.__doFtpLogin</h4>
191 <b>__doFtpLogin</b>(<i>username, password</i>)
192 <p>
193 Private method to do the FTP login with asking for a username and password,
194 if the login fails with an error 530.
195 </p><dl>
196 <dt><i>username</i></dt>
197 <dd>
198 user name to use for the login (string)
199 </dd><dt><i>password</i></dt>
200 <dd>
201 password to use for the login (string)
202 </dd>
203 </dl><dl>
204 <dt>Returns:</dt>
205 <dd>
206 tuple of two flags indicating a successful login and
207 if the login should be retried (boolean, boolean)
208 </dd>
209 </dl><a NAME="FtpSyncHandler.__downloadFile" ID="FtpSyncHandler.__downloadFile"></a>
210 <h4>FtpSyncHandler.__downloadFile</h4> 187 <h4>FtpSyncHandler.__downloadFile</h4>
211 <b>__downloadFile</b>(<i>type_, fileName, timestamp</i>) 188 <b>__downloadFile</b>(<i>type_, fileName, timestamp</i>)
212 <p> 189 <p>
213 Private method to downlaod the given file. 190 Private method to downlaod the given file.
214 </p><dl> 191 </p><dl>
290 type of the synchronization event (string one 267 type of the synchronization event (string one
291 of "bookmarks", "history", "passwords", "useragents" or "speeddial") 268 of "bookmarks", "history", "passwords", "useragents" or "speeddial")
292 </dd><dt><i>fileName</i></dt> 269 </dd><dt><i>fileName</i></dt>
293 <dd> 270 <dd>
294 name of the file to be uploaded (string) 271 name of the file to be uploaded (string)
272 </dd>
273 </dl><dl>
274 <dt>Returns:</dt>
275 <dd>
276 flag indicating success (boolean)
295 </dd> 277 </dd>
296 </dl><a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a> 278 </dl><a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a>
297 <h4>FtpSyncHandler.initialLoadAndCheck</h4> 279 <h4>FtpSyncHandler.initialLoadAndCheck</h4>
298 <b>initialLoadAndCheck</b>(<i>forceUpload</i>) 280 <b>initialLoadAndCheck</b>(<i>forceUpload</i>)
299 <p> 281 <p>

eric ide

mercurial