--- a/Documentation/Source/eric5.Helpviewer.Sync.FtpSyncHandler.html Sun Feb 26 11:39:22 2012 +0100 +++ b/Documentation/Source/eric5.Helpviewer.Sync.FtpSyncHandler.html Sun Feb 26 19:19:50 2012 +0100 @@ -54,6 +54,9 @@ emitted after a synchronization has finished (string one of "bookmarks", "history", "passwords" or "useragents", boolean, boolean) +</dd><dt>syncMessage(message)</dt> +<dd> +emitted to send a message about synchronization (string) </dd><dt>syncStatus(type_, done, message)</dt> <dd> emitted to indicate the synchronization @@ -86,6 +89,9 @@ <td><a href="#FtpSyncHandler.__commandFinished">__commandFinished</a></td> <td>Private slot handling the end of a command.</td> </tr><tr> +<td><a href="#FtpSyncHandler.__downloadFile">__downloadFile</a></td> +<td>Private method to downlaod the given file.</td> +</tr><tr> <td><a href="#FtpSyncHandler.__idleTimeout">__idleTimeout</a></td> <td>Private slot to prevent a disconnect from the server.</td> </tr><tr> @@ -101,6 +107,9 @@ <td><a href="#FtpSyncHandler.__syncFile">__syncFile</a></td> <td>Private method to synchronize the given file.</td> </tr><tr> +<td><a href="#FtpSyncHandler.__uploadFile">__uploadFile</a></td> +<td>Private method to upload the given file.</td> +</tr><tr> <td><a href="#FtpSyncHandler.initialLoadAndCheck">initialLoadAndCheck</a></td> <td>Public method to do the initial check.</td> </tr><tr> @@ -164,6 +173,20 @@ <dd> flag indicating an error situation (boolean) </dd> +</dl><a NAME="FtpSyncHandler.__downloadFile" ID="FtpSyncHandler.__downloadFile"></a> +<h4>FtpSyncHandler.__downloadFile</h4> +<b>__downloadFile</b>(<i>type_, fileName</i>) +<p> + Private method to downlaod the given file. +</p><dl> +<dt><i>type_</i></dt> +<dd> +type of the synchronization event (string one + of "bookmarks", "history", "passwords" or "useragents") +</dd><dt><i>fileName</i></dt> +<dd> +name of the file to be downloaded (string) +</dd> </dl><a NAME="FtpSyncHandler.__idleTimeout" ID="FtpSyncHandler.__idleTimeout"></a> <h4>FtpSyncHandler.__idleTimeout</h4> <b>__idleTimeout</b>(<i></i>) @@ -207,12 +230,31 @@ <dd> name of the file to be synchronized (string) </dd> +</dl><a NAME="FtpSyncHandler.__uploadFile" ID="FtpSyncHandler.__uploadFile"></a> +<h4>FtpSyncHandler.__uploadFile</h4> +<b>__uploadFile</b>(<i>type_, fileName</i>) +<p> + Private method to upload the given file. +</p><dl> +<dt><i>type_</i></dt> +<dd> +type of the synchronization event (string one + of "bookmarks", "history", "passwords" or "useragents") +</dd><dt><i>fileName</i></dt> +<dd> +name of the file to be uploaded (string) +</dd> </dl><a NAME="FtpSyncHandler.initialLoadAndCheck" ID="FtpSyncHandler.initialLoadAndCheck"></a> <h4>FtpSyncHandler.initialLoadAndCheck</h4> -<b>initialLoadAndCheck</b>(<i></i>) +<b>initialLoadAndCheck</b>(<i>forceUpload</i>) <p> Public method to do the initial check. -</p><a NAME="FtpSyncHandler.shutdown" ID="FtpSyncHandler.shutdown"></a> +</p><dl> +<dt><i>forceUpload=</i></dt> +<dd> +flag indicating a forced upload of the files (boolean) +</dd> +</dl><a NAME="FtpSyncHandler.shutdown" ID="FtpSyncHandler.shutdown"></a> <h4>FtpSyncHandler.shutdown</h4> <b>shutdown</b>(<i></i>) <p>