Module implementing a synchronization handler using FTP.
None |
FtpSyncHandler | Class implementing a synchronization handler using FTP. |
None |
Class implementing a synchronization handler using FTP.
None |
None |
FtpSyncHandler | Constructor |
__changeToStore | Private slot to change to the storage directory. |
__connectAndLogin | Private method to connect to the FTP server and log in. |
__dirListCallback | Private slot handling the receipt of directory listing lines. |
__doFtpCommands | Private slot executing the sequence of FTP commands. |
__downloadFile | Private method to downlaod the given file. |
__downloadFileCallback | Private method receiving the downloaded data. |
__idleTimeout | Private slot to prevent a disconnect from the server. |
__initialSync | Private slot to do the initial synchronization. |
__initialSyncFile | Private method to do the initial synchronization of the given file. |
__syncFile | Private method to synchronize the given file. |
__uploadFile | Private method to upload the given file. |
initialLoadAndCheck | Public method to do the initial check. |
shutdown | Public method to shut down the handler. |
syncBookmarks | Public method to synchronize the bookmarks. |
syncHistory | Public method to synchronize the history. |
syncPasswords | Public method to synchronize the passwords. |
syncSpeedDial | Public method to synchronize the speed dial data. |
syncUserAgents | Public method to synchronize the user agents. |
None |
Constructor
Private slot to change to the storage directory.
This action will create the storage path on the server, if it does not exist. Upon return, the current directory of the server is the sync directory.
Private method to connect to the FTP server and log in.
Private slot handling the receipt of directory listing lines.
Private slot executing the sequence of FTP commands.
Private method to downlaod the given file.
Private method receiving the downloaded data.
Private slot to prevent a disconnect from the server.
Private slot to do the initial synchronization.
Private method to do the initial synchronization of the given file.
Private method to synchronize the given file.
Private method to upload the given file.
Public method to do the initial check.
Public method to shut down the handler.
Public method to synchronize the bookmarks.
Public method to synchronize the history.
Public method to synchronize the passwords.
Public method to synchronize the speed dial data.
Public method to synchronize the user agents.