eric6/Documentation/Source/eric6.WebBrowser.Sync.FtpSyncHandler.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7900
72b88fb20261
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.Sync.FtpSyncHandler</h1> 23 <h1>eric6.WebBrowser.Sync.FtpSyncHandler</h1>
24
23 <p> 25 <p>
24 Module implementing a synchronization handler using FTP. 26 Module implementing a synchronization handler using FTP.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#FtpSyncHandler">FtpSyncHandler</a></td> 38 <td><a href="#FtpSyncHandler">FtpSyncHandler</a></td>
34 <td>Class implementing a synchronization handler using FTP.</td> 39 <td>Class implementing a synchronization handler using FTP.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="FtpSyncHandler" ID="FtpSyncHandler"></a> 49 <a NAME="FtpSyncHandler" ID="FtpSyncHandler"></a>
43 <h2>FtpSyncHandler</h2> 50 <h2>FtpSyncHandler</h2>
51
44 <p> 52 <p>
45 Class implementing a synchronization handler using FTP. 53 Class implementing a synchronization handler using FTP.
46 </p><h3>Signals</h3> 54 </p>
47 <dl> 55 <h3>Signals</h3>
56 <dl>
57
48 <dt>syncError(message)</dt> 58 <dt>syncError(message)</dt>
49 <dd> 59 <dd>
50 emitted for a general error with the error 60 emitted for a general error with the error
51 message (string) 61 message (string)
52 </dd><dt>syncFinished(type_, done, download)</dt> 62 </dd>
63 <dt>syncFinished(type_, done, download)</dt>
53 <dd> 64 <dd>
54 emitted after a 65 emitted after a
55 synchronization has finished (string one of "bookmarks", "history", 66 synchronization has finished (string one of "bookmarks", "history",
56 "passwords", "useragents" or "speeddial", boolean, boolean) 67 "passwords", "useragents" or "speeddial", boolean, boolean)
57 </dd><dt>syncMessage(message)</dt> 68 </dd>
69 <dt>syncMessage(message)</dt>
58 <dd> 70 <dd>
59 emitted to send a message about 71 emitted to send a message about
60 synchronization (string) 72 synchronization (string)
61 </dd><dt>syncStatus(type_, message)</dt> 73 </dd>
74 <dt>syncStatus(type_, message)</dt>
62 <dd> 75 <dd>
63 emitted to indicate the synchronization 76 emitted to indicate the synchronization
64 status (string one of "bookmarks", "history", "passwords", 77 status (string one of "bookmarks", "history", "passwords",
65 "useragents" or "speeddial", string) 78 "useragents" or "speeddial", string)
66 </dd> 79 </dd>
67 </dl> 80 </dl>
68 <h3>Derived from</h3> 81 <h3>Derived from</h3>
69 SyncHandler 82 SyncHandler
70 <h3>Class Attributes</h3> 83 <h3>Class Attributes</h3>
84
71 <table> 85 <table>
72 <tr><td>None</td></tr> 86 <tr><td>None</td></tr>
73 </table> 87 </table>
74 <h3>Class Methods</h3> 88 <h3>Class Methods</h3>
89
75 <table> 90 <table>
76 <tr><td>None</td></tr> 91 <tr><td>None</td></tr>
77 </table> 92 </table>
78 <h3>Methods</h3> 93 <h3>Methods</h3>
79 <table> 94
95 <table>
96
80 <tr> 97 <tr>
81 <td><a href="#FtpSyncHandler.__init__">FtpSyncHandler</a></td> 98 <td><a href="#FtpSyncHandler.__init__">FtpSyncHandler</a></td>
82 <td>Constructor</td> 99 <td>Constructor</td>
83 </tr><tr> 100 </tr>
101 <tr>
84 <td><a href="#FtpSyncHandler.__changeToStore">__changeToStore</a></td> 102 <td><a href="#FtpSyncHandler.__changeToStore">__changeToStore</a></td>
85 <td>Private slot to change to the storage directory.</td> 103 <td>Private slot to change to the storage directory.</td>
86 </tr><tr> 104 </tr>
105 <tr>
87 <td><a href="#FtpSyncHandler.__connectAndLogin">__connectAndLogin</a></td> 106 <td><a href="#FtpSyncHandler.__connectAndLogin">__connectAndLogin</a></td>
88 <td>Private method to connect to the FTP server and log in.</td> 107 <td>Private method to connect to the FTP server and log in.</td>
89 </tr><tr> 108 </tr>
109 <tr>
90 <td><a href="#FtpSyncHandler.__dirListCallback">__dirListCallback</a></td> 110 <td><a href="#FtpSyncHandler.__dirListCallback">__dirListCallback</a></td>
91 <td>Private slot handling the receipt of directory listing lines.</td> 111 <td>Private slot handling the receipt of directory listing lines.</td>
92 </tr><tr> 112 </tr>
113 <tr>
93 <td><a href="#FtpSyncHandler.__doFtpCommands">__doFtpCommands</a></td> 114 <td><a href="#FtpSyncHandler.__doFtpCommands">__doFtpCommands</a></td>
94 <td>Private slot executing the sequence of FTP commands.</td> 115 <td>Private slot executing the sequence of FTP commands.</td>
95 </tr><tr> 116 </tr>
117 <tr>
96 <td><a href="#FtpSyncHandler.__downloadFile">__downloadFile</a></td> 118 <td><a href="#FtpSyncHandler.__downloadFile">__downloadFile</a></td>
97 <td>Private method to downlaod the given file.</td> 119 <td>Private method to downlaod the given file.</td>
98 </tr><tr> 120 </tr>
121 <tr>
99 <td><a href="#FtpSyncHandler.__downloadFileCallback">__downloadFileCallback</a></td> 122 <td><a href="#FtpSyncHandler.__downloadFileCallback">__downloadFileCallback</a></td>
100 <td>Private method receiving the downloaded data.</td> 123 <td>Private method receiving the downloaded data.</td>
101 </tr><tr> 124 </tr>
125 <tr>
102 <td><a href="#FtpSyncHandler.__idleTimeout">__idleTimeout</a></td> 126 <td><a href="#FtpSyncHandler.__idleTimeout">__idleTimeout</a></td>
103 <td>Private slot to prevent a disconnect from the server.</td> 127 <td>Private slot to prevent a disconnect from the server.</td>
104 </tr><tr> 128 </tr>
129 <tr>
105 <td><a href="#FtpSyncHandler.__initialSync">__initialSync</a></td> 130 <td><a href="#FtpSyncHandler.__initialSync">__initialSync</a></td>
106 <td>Private slot to do the initial synchronization.</td> 131 <td>Private slot to do the initial synchronization.</td>
107 </tr><tr> 132 </tr>
133 <tr>
108 <td><a href="#FtpSyncHandler.__initialSyncFile">__initialSyncFile</a></td> 134 <td><a href="#FtpSyncHandler.__initialSyncFile">__initialSyncFile</a></td>
109 <td>Private method to do the initial synchronization of the given file.</td> 135 <td>Private method to do the initial synchronization of the given file.</td>
110 </tr><tr> 136 </tr>
137 <tr>
111 <td><a href="#FtpSyncHandler.__syncFile">__syncFile</a></td> 138 <td><a href="#FtpSyncHandler.__syncFile">__syncFile</a></td>
112 <td>Private method to synchronize the given file.</td> 139 <td>Private method to synchronize the given file.</td>
113 </tr><tr> 140 </tr>
141 <tr>
114 <td><a href="#FtpSyncHandler.__uploadFile">__uploadFile</a></td> 142 <td><a href="#FtpSyncHandler.__uploadFile">__uploadFile</a></td>
115 <td>Private method to upload the given file.</td> 143 <td>Private method to upload the given file.</td>
116 </tr><tr> 144 </tr>
145 <tr>
117 <td><a href="#FtpSyncHandler.initialLoadAndCheck">initialLoadAndCheck</a></td> 146 <td><a href="#FtpSyncHandler.initialLoadAndCheck">initialLoadAndCheck</a></td>
118 <td>Public method to do the initial check.</td> 147 <td>Public method to do the initial check.</td>
119 </tr><tr> 148 </tr>
149 <tr>
120 <td><a href="#FtpSyncHandler.shutdown">shutdown</a></td> 150 <td><a href="#FtpSyncHandler.shutdown">shutdown</a></td>
121 <td>Public method to shut down the handler.</td> 151 <td>Public method to shut down the handler.</td>
122 </tr><tr> 152 </tr>
153 <tr>
123 <td><a href="#FtpSyncHandler.syncBookmarks">syncBookmarks</a></td> 154 <td><a href="#FtpSyncHandler.syncBookmarks">syncBookmarks</a></td>
124 <td>Public method to synchronize the bookmarks.</td> 155 <td>Public method to synchronize the bookmarks.</td>
125 </tr><tr> 156 </tr>
157 <tr>
126 <td><a href="#FtpSyncHandler.syncHistory">syncHistory</a></td> 158 <td><a href="#FtpSyncHandler.syncHistory">syncHistory</a></td>
127 <td>Public method to synchronize the history.</td> 159 <td>Public method to synchronize the history.</td>
128 </tr><tr> 160 </tr>
161 <tr>
129 <td><a href="#FtpSyncHandler.syncPasswords">syncPasswords</a></td> 162 <td><a href="#FtpSyncHandler.syncPasswords">syncPasswords</a></td>
130 <td>Public method to synchronize the passwords.</td> 163 <td>Public method to synchronize the passwords.</td>
131 </tr><tr> 164 </tr>
165 <tr>
132 <td><a href="#FtpSyncHandler.syncSpeedDial">syncSpeedDial</a></td> 166 <td><a href="#FtpSyncHandler.syncSpeedDial">syncSpeedDial</a></td>
133 <td>Public method to synchronize the speed dial data.</td> 167 <td>Public method to synchronize the speed dial data.</td>
134 </tr><tr> 168 </tr>
169 <tr>
135 <td><a href="#FtpSyncHandler.syncUserAgents">syncUserAgents</a></td> 170 <td><a href="#FtpSyncHandler.syncUserAgents">syncUserAgents</a></td>
136 <td>Public method to synchronize the user agents.</td> 171 <td>Public method to synchronize the user agents.</td>
137 </tr> 172 </tr>
138 </table> 173 </table>
139 <h3>Static Methods</h3> 174 <h3>Static Methods</h3>
175
140 <table> 176 <table>
141 <tr><td>None</td></tr> 177 <tr><td>None</td></tr>
142 </table> 178 </table>
179
143 <a NAME="FtpSyncHandler.__init__" ID="FtpSyncHandler.__init__"></a> 180 <a NAME="FtpSyncHandler.__init__" ID="FtpSyncHandler.__init__"></a>
144 <h4>FtpSyncHandler (Constructor)</h4> 181 <h4>FtpSyncHandler (Constructor)</h4>
145 <b>FtpSyncHandler</b>(<i>parent=None</i>) 182 <b>FtpSyncHandler</b>(<i>parent=None</i>)
183
146 <p> 184 <p>
147 Constructor 185 Constructor
148 </p><dl> 186 </p>
187 <dl>
188
149 <dt><i>parent</i></dt> 189 <dt><i>parent</i></dt>
150 <dd> 190 <dd>
151 reference to the parent object (QObject) 191 reference to the parent object (QObject)
152 </dd> 192 </dd>
153 </dl><a NAME="FtpSyncHandler.__changeToStore" ID="FtpSyncHandler.__changeToStore"></a> 193 </dl>
194 <a NAME="FtpSyncHandler.__changeToStore" ID="FtpSyncHandler.__changeToStore"></a>
154 <h4>FtpSyncHandler.__changeToStore</h4> 195 <h4>FtpSyncHandler.__changeToStore</h4>
155 <b>__changeToStore</b>(<i></i>) 196 <b>__changeToStore</b>(<i></i>)
197
156 <p> 198 <p>
157 Private slot to change to the storage directory. 199 Private slot to change to the storage directory.
158 </p><p> 200 </p>
201 <p>
159 This action will create the storage path on the server, if it 202 This action will create the storage path on the server, if it
160 does not exist. Upon return, the current directory of the server 203 does not exist. Upon return, the current directory of the server
161 is the sync directory. 204 is the sync directory.
162 </p><a NAME="FtpSyncHandler.__connectAndLogin" ID="FtpSyncHandler.__connectAndLogin"></a> 205 </p>
206 <a NAME="FtpSyncHandler.__connectAndLogin" ID="FtpSyncHandler.__connectAndLogin"></a>
163 <h4>FtpSyncHandler.__connectAndLogin</h4> 207 <h4>FtpSyncHandler.__connectAndLogin</h4>
164 <b>__connectAndLogin</b>(<i></i>) 208 <b>__connectAndLogin</b>(<i></i>)
209
165 <p> 210 <p>
166 Private method to connect to the FTP server and log in. 211 Private method to connect to the FTP server and log in.
167 </p><dl> 212 </p>
213 <dl>
168 <dt>Returns:</dt> 214 <dt>Returns:</dt>
169 <dd> 215 <dd>
170 flag indicating a successful log in (boolean) 216 flag indicating a successful log in (boolean)
171 </dd> 217 </dd>
172 </dl><a NAME="FtpSyncHandler.__dirListCallback" ID="FtpSyncHandler.__dirListCallback"></a> 218 </dl>
219 <a NAME="FtpSyncHandler.__dirListCallback" ID="FtpSyncHandler.__dirListCallback"></a>
173 <h4>FtpSyncHandler.__dirListCallback</h4> 220 <h4>FtpSyncHandler.__dirListCallback</h4>
174 <b>__dirListCallback</b>(<i>line</i>) 221 <b>__dirListCallback</b>(<i>line</i>)
222
175 <p> 223 <p>
176 Private slot handling the receipt of directory listing lines. 224 Private slot handling the receipt of directory listing lines.
177 </p><dl> 225 </p>
226 <dl>
227
178 <dt><i>line</i></dt> 228 <dt><i>line</i></dt>
179 <dd> 229 <dd>
180 the received line of the directory listing (string) 230 the received line of the directory listing (string)
181 </dd> 231 </dd>
182 </dl><a NAME="FtpSyncHandler.__doFtpCommands" ID="FtpSyncHandler.__doFtpCommands"></a> 232 </dl>
233 <a NAME="FtpSyncHandler.__doFtpCommands" ID="FtpSyncHandler.__doFtpCommands"></a>
183 <h4>FtpSyncHandler.__doFtpCommands</h4> 234 <h4>FtpSyncHandler.__doFtpCommands</h4>
184 <b>__doFtpCommands</b>(<i></i>) 235 <b>__doFtpCommands</b>(<i></i>)
236
185 <p> 237 <p>
186 Private slot executing the sequence of FTP commands. 238 Private slot executing the sequence of FTP commands.
187 </p><a NAME="FtpSyncHandler.__downloadFile" ID="FtpSyncHandler.__downloadFile"></a> 239 </p>
240 <a NAME="FtpSyncHandler.__downloadFile" ID="FtpSyncHandler.__downloadFile"></a>
188 <h4>FtpSyncHandler.__downloadFile</h4> 241 <h4>FtpSyncHandler.__downloadFile</h4>
189 <b>__downloadFile</b>(<i>type_, fileName, timestamp</i>) 242 <b>__downloadFile</b>(<i>type_, fileName, timestamp</i>)
243
190 <p> 244 <p>
191 Private method to downlaod the given file. 245 Private method to downlaod the given file.
192 </p><dl> 246 </p>
247 <dl>
248
193 <dt><i>type_</i></dt> 249 <dt><i>type_</i></dt>
194 <dd> 250 <dd>
195 type of the synchronization event (string one 251 type of the synchronization event (string one
196 of "bookmarks", "history", "passwords", "useragents" or 252 of "bookmarks", "history", "passwords", "useragents" or
197 "speeddial") 253 "speeddial")
198 </dd><dt><i>fileName</i></dt> 254 </dd>
255 <dt><i>fileName</i></dt>
199 <dd> 256 <dd>
200 name of the file to be downloaded (string) 257 name of the file to be downloaded (string)
201 </dd><dt><i>timestamp</i></dt> 258 </dd>
259 <dt><i>timestamp</i></dt>
202 <dd> 260 <dd>
203 time stamp in seconds of the file to be downloaded 261 time stamp in seconds of the file to be downloaded
204 (integer) 262 (integer)
205 </dd> 263 </dd>
206 </dl><a NAME="FtpSyncHandler.__downloadFileCallback" ID="FtpSyncHandler.__downloadFileCallback"></a> 264 </dl>
265 <a NAME="FtpSyncHandler.__downloadFileCallback" ID="FtpSyncHandler.__downloadFileCallback"></a>
207 <h4>FtpSyncHandler.__downloadFileCallback</h4> 266 <h4>FtpSyncHandler.__downloadFileCallback</h4>
208 <b>__downloadFileCallback</b>(<i>buffer, data</i>) 267 <b>__downloadFileCallback</b>(<i>buffer, data</i>)
268
209 <p> 269 <p>
210 Private method receiving the downloaded data. 270 Private method receiving the downloaded data.
211 </p><dl> 271 </p>
272 <dl>
273
212 <dt><i>buffer</i></dt> 274 <dt><i>buffer</i></dt>
213 <dd> 275 <dd>
214 reference to the buffer (io.BytesIO) 276 reference to the buffer (io.BytesIO)
215 </dd><dt><i>data</i></dt> 277 </dd>
278 <dt><i>data</i></dt>
216 <dd> 279 <dd>
217 byte string to store in the buffer (bytes) 280 byte string to store in the buffer (bytes)
218 </dd> 281 </dd>
219 </dl><dl> 282 </dl>
283 <dl>
220 <dt>Returns:</dt> 284 <dt>Returns:</dt>
221 <dd> 285 <dd>
222 number of bytes written to the buffer (integer) 286 number of bytes written to the buffer (integer)
223 </dd> 287 </dd>
224 </dl><a NAME="FtpSyncHandler.__idleTimeout" ID="FtpSyncHandler.__idleTimeout"></a> 288 </dl>
289 <a NAME="FtpSyncHandler.__idleTimeout" ID="FtpSyncHandler.__idleTimeout"></a>
225 <h4>FtpSyncHandler.__idleTimeout</h4> 290 <h4>FtpSyncHandler.__idleTimeout</h4>
226 <b>__idleTimeout</b>(<i></i>) 291 <b>__idleTimeout</b>(<i></i>)
292
227 <p> 293 <p>
228 Private slot to prevent a disconnect from the server. 294 Private slot to prevent a disconnect from the server.
229 </p><a NAME="FtpSyncHandler.__initialSync" ID="FtpSyncHandler.__initialSync"></a> 295 </p>
296 <a NAME="FtpSyncHandler.__initialSync" ID="FtpSyncHandler.__initialSync"></a>
230 <h4>FtpSyncHandler.__initialSync</h4> 297 <h4>FtpSyncHandler.__initialSync</h4>
231 <b>__initialSync</b>(<i></i>) 298 <b>__initialSync</b>(<i></i>)
299
232 <p> 300 <p>
233 Private slot to do the initial synchronization. 301 Private slot to do the initial synchronization.
234 </p><a NAME="FtpSyncHandler.__initialSyncFile" ID="FtpSyncHandler.__initialSyncFile"></a> 302 </p>
303 <a NAME="FtpSyncHandler.__initialSyncFile" ID="FtpSyncHandler.__initialSyncFile"></a>
235 <h4>FtpSyncHandler.__initialSyncFile</h4> 304 <h4>FtpSyncHandler.__initialSyncFile</h4>
236 <b>__initialSyncFile</b>(<i>type_, fileName</i>) 305 <b>__initialSyncFile</b>(<i>type_, fileName</i>)
306
237 <p> 307 <p>
238 Private method to do the initial synchronization of the given file. 308 Private method to do the initial synchronization of the given file.
239 </p><dl> 309 </p>
310 <dl>
311
240 <dt><i>type_</i></dt> 312 <dt><i>type_</i></dt>
241 <dd> 313 <dd>
242 type of the synchronization event (string one 314 type of the synchronization event (string one
243 of "bookmarks", "history", "passwords", "useragents" or 315 of "bookmarks", "history", "passwords", "useragents" or
244 "speeddial") 316 "speeddial")
245 </dd><dt><i>fileName</i></dt> 317 </dd>
318 <dt><i>fileName</i></dt>
246 <dd> 319 <dd>
247 name of the file to be synchronized (string) 320 name of the file to be synchronized (string)
248 </dd> 321 </dd>
249 </dl><a NAME="FtpSyncHandler.__syncFile" ID="FtpSyncHandler.__syncFile"></a> 322 </dl>
323 <a NAME="FtpSyncHandler.__syncFile" ID="FtpSyncHandler.__syncFile"></a>
250 <h4>FtpSyncHandler.__syncFile</h4> 324 <h4>FtpSyncHandler.__syncFile</h4>
251 <b>__syncFile</b>(<i>type_, fileName</i>) 325 <b>__syncFile</b>(<i>type_, fileName</i>)
326
252 <p> 327 <p>
253 Private method to synchronize the given file. 328 Private method to synchronize the given file.
254 </p><dl> 329 </p>
330 <dl>
331
255 <dt><i>type_</i></dt> 332 <dt><i>type_</i></dt>
256 <dd> 333 <dd>
257 type of the synchronization event (string one 334 type of the synchronization event (string one
258 of "bookmarks", "history", "passwords", "useragents" or 335 of "bookmarks", "history", "passwords", "useragents" or
259 "speeddial") 336 "speeddial")
260 </dd><dt><i>fileName</i></dt> 337 </dd>
338 <dt><i>fileName</i></dt>
261 <dd> 339 <dd>
262 name of the file to be synchronized (string) 340 name of the file to be synchronized (string)
263 </dd> 341 </dd>
264 </dl><a NAME="FtpSyncHandler.__uploadFile" ID="FtpSyncHandler.__uploadFile"></a> 342 </dl>
343 <a NAME="FtpSyncHandler.__uploadFile" ID="FtpSyncHandler.__uploadFile"></a>
265 <h4>FtpSyncHandler.__uploadFile</h4> 344 <h4>FtpSyncHandler.__uploadFile</h4>
266 <b>__uploadFile</b>(<i>type_, fileName</i>) 345 <b>__uploadFile</b>(<i>type_, fileName</i>)
346
267 <p> 347 <p>
268 Private method to upload the given file. 348 Private method to upload the given file.
269 </p><dl> 349 </p>
350 <dl>
351
270 <dt><i>type_</i></dt> 352 <dt><i>type_</i></dt>
271 <dd> 353 <dd>
272 type of the synchronization event (string one 354 type of the synchronization event (string one
273 of "bookmarks", "history", "passwords", "useragents" or 355 of "bookmarks", "history", "passwords", "useragents" or
274 "speeddial") 356 "speeddial")
275 </dd><dt><i>fileName</i></dt> 357 </dd>
358 <dt><i>fileName</i></dt>
276 <dd> 359 <dd>
277 name of the file to be uploaded (string) 360 name of the file to be uploaded (string)
278 </dd> 361 </dd>
279 </dl><dl> 362 </dl>
363 <dl>
280 <dt>Returns:</dt> 364 <dt>Returns:</dt>
281 <dd> 365 <dd>
282 flag indicating success (boolean) 366 flag indicating success (boolean)
283 </dd> 367 </dd>
284 </dl><a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a> 368 </dl>
369 <a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a>
285 <h4>FtpSyncHandler.initialLoadAndCheck</h4> 370 <h4>FtpSyncHandler.initialLoadAndCheck</h4>
286 <b>initialLoadAndCheck</b>(<i>forceUpload</i>) 371 <b>initialLoadAndCheck</b>(<i>forceUpload</i>)
372
287 <p> 373 <p>
288 Public method to do the initial check. 374 Public method to do the initial check.
289 </p><dl> 375 </p>
376 <dl>
377
290 <dt><i>forceUpload=</i></dt> 378 <dt><i>forceUpload=</i></dt>
291 <dd> 379 <dd>
292 flag indicating a forced upload of the files 380 flag indicating a forced upload of the files
293 (boolean) 381 (boolean)
294 </dd> 382 </dd>
295 </dl><a NAME="FtpSyncHandler.shutdown" ID="FtpSyncHandler.shutdown"></a> 383 </dl>
384 <a NAME="FtpSyncHandler.shutdown" ID="FtpSyncHandler.shutdown"></a>
296 <h4>FtpSyncHandler.shutdown</h4> 385 <h4>FtpSyncHandler.shutdown</h4>
297 <b>shutdown</b>(<i></i>) 386 <b>shutdown</b>(<i></i>)
387
298 <p> 388 <p>
299 Public method to shut down the handler. 389 Public method to shut down the handler.
300 </p><a NAME="FtpSyncHandler.syncBookmarks" ID="FtpSyncHandler.syncBookmarks"></a> 390 </p>
391 <a NAME="FtpSyncHandler.syncBookmarks" ID="FtpSyncHandler.syncBookmarks"></a>
301 <h4>FtpSyncHandler.syncBookmarks</h4> 392 <h4>FtpSyncHandler.syncBookmarks</h4>
302 <b>syncBookmarks</b>(<i></i>) 393 <b>syncBookmarks</b>(<i></i>)
394
303 <p> 395 <p>
304 Public method to synchronize the bookmarks. 396 Public method to synchronize the bookmarks.
305 </p><a NAME="FtpSyncHandler.syncHistory" ID="FtpSyncHandler.syncHistory"></a> 397 </p>
398 <a NAME="FtpSyncHandler.syncHistory" ID="FtpSyncHandler.syncHistory"></a>
306 <h4>FtpSyncHandler.syncHistory</h4> 399 <h4>FtpSyncHandler.syncHistory</h4>
307 <b>syncHistory</b>(<i></i>) 400 <b>syncHistory</b>(<i></i>)
401
308 <p> 402 <p>
309 Public method to synchronize the history. 403 Public method to synchronize the history.
310 </p><a NAME="FtpSyncHandler.syncPasswords" ID="FtpSyncHandler.syncPasswords"></a> 404 </p>
405 <a NAME="FtpSyncHandler.syncPasswords" ID="FtpSyncHandler.syncPasswords"></a>
311 <h4>FtpSyncHandler.syncPasswords</h4> 406 <h4>FtpSyncHandler.syncPasswords</h4>
312 <b>syncPasswords</b>(<i></i>) 407 <b>syncPasswords</b>(<i></i>)
408
313 <p> 409 <p>
314 Public method to synchronize the passwords. 410 Public method to synchronize the passwords.
315 </p><a NAME="FtpSyncHandler.syncSpeedDial" ID="FtpSyncHandler.syncSpeedDial"></a> 411 </p>
412 <a NAME="FtpSyncHandler.syncSpeedDial" ID="FtpSyncHandler.syncSpeedDial"></a>
316 <h4>FtpSyncHandler.syncSpeedDial</h4> 413 <h4>FtpSyncHandler.syncSpeedDial</h4>
317 <b>syncSpeedDial</b>(<i></i>) 414 <b>syncSpeedDial</b>(<i></i>)
415
318 <p> 416 <p>
319 Public method to synchronize the speed dial data. 417 Public method to synchronize the speed dial data.
320 </p><a NAME="FtpSyncHandler.syncUserAgents" ID="FtpSyncHandler.syncUserAgents"></a> 418 </p>
419 <a NAME="FtpSyncHandler.syncUserAgents" ID="FtpSyncHandler.syncUserAgents"></a>
321 <h4>FtpSyncHandler.syncUserAgents</h4> 420 <h4>FtpSyncHandler.syncUserAgents</h4>
322 <b>syncUserAgents</b>(<i></i>) 421 <b>syncUserAgents</b>(<i></i>)
422
323 <p> 423 <p>
324 Public method to synchronize the user agents. 424 Public method to synchronize the user agents.
325 </p> 425 </p>
326 <div align="right"><a href="#top">Up</a></div> 426 <div align="right"><a href="#top">Up</a></div>
327 <hr /> 427 <hr />

eric ide

mercurial