コンテンツ

  1. HOME
  2. Services
  3. Hosting services
  4. Manuals ・ Guidebooks
  5. Contents creation guidebook
  6. Contents synchronization by lftp command

Contents synchronization by lftp command

Here we introduce the contents for advanced users who know a lot about UNIX PC etc. If you didn't operate correctly there might be the case that the created contents would be deleted all together. Please be cautious of your use.

Synchronizing Web contents and file server from UNIX environment(Mirroring)

Synchronizing and managing contents with local PC and server

We upload the contents files created in local PC to the server in the operation to publish contents in Web server ordinarily. And we delete the contents files on the server in stop publishing the contents. In short, Web contents management means to set the copy of the contents files separately to the appropriate place in the server and to create whole of the Website.

通常のアップロード・ダウンロード

Therefore each contents of the directory doesn't always match between local and server. In contrast, it enables to keep the contents of the both directory same if you manage the contents in unison with the one in local PC and the one in server.

コンテンツの同期

After managing the contents by synchronization, it enables you to reflect the things built up by checking the display in local PC on the server and adapt the change of the files on the server after editing the plural contents. And it enables you to back up the contents on the server to the local PC easily.

The use of lftp command

Lftp, the high function FTP command, is installed in the Unix environment such as Linux or Cygwin. In using this lftp command,the specific directory of local PC is in unison with the specific directory of server and it enables you to match the files in each directory.

The synchronization between the local PC and server will start in starting up the terminal and running the lftp command. Here is the sample for input in synchronizing file server with lftp command.

lftpコマンドの入力例

Lftp command prepare for many options concerning the behavior in synchronization .For the detailed use of lftp command,please refer to the manual displayed in entering the following command from the terminal.

# man lftp

Back to the TOP of the contents creation guidebook

 

Copyright © Institute for Information Management and Communication, Kyoto University, all rights reserved.