JPH0749818A - Automatic file transfer method between computers - Google Patents
Automatic file transfer method between computersInfo
- Publication number
- JPH0749818A JPH0749818A JP5195851A JP19585193A JPH0749818A JP H0749818 A JPH0749818 A JP H0749818A JP 5195851 A JP5195851 A JP 5195851A JP 19585193 A JP19585193 A JP 19585193A JP H0749818 A JPH0749818 A JP H0749818A
- Authority
- JP
- Japan
- Prior art keywords
- file
- transmission
- transfer
- reception
- name
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】計算機間で回線を使用してのファイル転送シス
テムで、送信者の作業量を軽減し、作業の確実性を向上
させる。
【構成】送信制御プログラム11と受信制御プログラム
14は計算機立ち上げ時に自動的に起動され、送信制御
プログラム11は送信用管理ファイル7を参照し、文書
ファイル送信プログラム9もしくは一般ファイル送信プ
ログラム10を使用して、送信用ディレクトリ5下の転
送対象ファイルを文書ファイル受信プログラム12もし
くは一般ファイル受信プログラム13へ送信し、文書フ
ァイル受信プログラム12もしくは一般ファイル受信プ
ログラム13は受信用管理ファイル8を参照して受信用
ディレクトリ6下へ受信ファイルを格納する。
(57) [Summary] [Purpose] A file transfer system that uses a line between computers to reduce the work amount of the sender and improve the certainty of the work. [Structure] The transmission control program 11 and the reception control program 14 are automatically started at computer startup, and the transmission control program 11 refers to the transmission management file 7 and uses the document file transmission program 9 or general file transmission program 10. Then, the file to be transferred under the transmission directory 5 is transmitted to the document file reception program 12 or the general file reception program 13, and the document file reception program 12 or the general file reception program 13 refers to the reception management file 8 to receive it. The received file is stored under the data directory 6.
Description
【0001】[0001]
【産業上の利用分野】本発明は計算機間で回線を使用し
てファイル転送を行なう方式について、特に頻繁にファ
イルの転送が発生する場合に好適なファイル転送方式に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for transferring a file between computers by using a line, and more particularly to a file transfer method suitable for frequent file transfer.
【0002】[0002]
【従来の技術】従来計算機(パソコン、ワ−クステ−シ
ョン等含む)間で回線を使用してのファイル転送システ
ムでは、送り先計算機のアドレスと転送対象ファイル名
をオペランドとするファイル転送コマンドを用いてファ
イルを転送していた。すなわち、ファイル転送が必要に
なるたびにコマンド名、転送対象ファイル名、送り先計
算機のアドレスを投入せなばならず、作業者にとって面
倒なだけでなく、転送対象ファイル名やアドレスは投入
間違いをしやすい。また、転送対象ファイル名やアドレ
スの投入間違いを解決するためにプロシジャコマンドを
作成しても、プロシジャコマンドの投入を作業者が行う
必要があるという点については配慮されていなかった。2. Description of the Related Art In a file transfer system using a line between conventional computers (including personal computers and workstations), a file transfer command having operands of an address of a destination computer and a file name of a transfer target is used. I was transferring files. In other words, every time file transfer is required, the command name, the transfer target file name, and the address of the destination computer must be input, which is not only troublesome for the operator, but also the transfer target file name and address are easy to input incorrectly. . Further, even if a procedure command is created to solve a mistake in inputting the transfer target file name or address, no consideration has been given to the fact that the operator needs to input the procedure command.
【0003】なお、従来のファイル転送方式について
は、「UNIX SYSTEM Vユーザガイド リリ
ース3.1」(AT&Tユニックス パシフィック株式
会社)第528ページから第558ページに記載されて
いる。The conventional file transfer method is described on pages 528 to 558 of "UNIX SYSTEM V User Guide Release 3.1" (AT & T Unix Pacific Co., Ltd.).
【0004】[0004]
【発明が解決しようとする課題】従来の技術ではファイ
ル転送の際、自動的に相手計算機へファイルを転送する
点について配慮されておらず、一々相手計算機のアドレ
スを指定してコマンドを投入せねばならず、面倒なだけ
でなく、転送対象ファイル名やアドレスの投入間違いに
よりファイル転送ができない。また、転送対象ファイル
名やアドレスの投入間違いを解決するためにプロシジャ
コマンドを作成しても、プロシジャコマンドの投入を作
業者が行う必要があるという課題があった。In the prior art, when transferring a file, no consideration is given to automatically transferring the file to the partner computer, and the command must be input by designating the address of the partner computer one by one. Not only is it troublesome, but file transfer is not possible due to incorrect input of the transfer target file name or address. Further, even if a procedure command is created in order to solve a mistake in inputting the transfer target file name or address, there is a problem that the operator needs to input the procedure command.
【0005】本発明の目的は、コマンドやプロシジャコ
マンドの投入という作業を作業者が行うことなく自動的
に相手計算機へファイルを転送し、自動的に該転送処理
を繰り返すことにより、作業者の作業量の軽減と作業の
確実性を向上させることにある。An object of the present invention is to automatically transfer a file to a partner computer without the need for the operator to input a command or procedure command and to automatically repeat the transfer processing, thereby performing the operation of the operator. It is to reduce the quantity and improve the certainty of the work.
【0006】[0006]
【課題を解決するための手段】本発明は、送信側計算機
に複数の送信対象ファイルを格納する領域と、受信側計
算機のアドレス、複数の転送対象ファイルを格納してい
る領域名等のファイルの転送に必要な情報を格納した送
信用管理ファイルを設け、受信側計算機に受信したファ
イルを格納する領域と、受信用アドレス、受信したファ
イルを格納する領域名等のファイルの受信に必要な情報
を格納した受信用管理ファイルを設け、送信プログラム
と受信プログラムは計算機の立ち上げ時に起動(プログ
ラム終了後は直ちに再実行)させ、送信プログラムは時
間監視(一定時間ごとの実行)のためにプログラム終了
前に一定時間停止させる方法を採用する。SUMMARY OF THE INVENTION According to the present invention, an area for storing a plurality of transmission target files in a transmission side computer, an address of a reception side computer, a file name such as an area name in which a plurality of transfer target files are stored are stored. A transmission management file that stores the information necessary for transfer is provided, and the area for storing the received file on the receiving computer and the information necessary for receiving the file, such as the receiving address and the area name for storing the received file, are stored. A stored management file for reception is provided, the transmission program and the reception program are started when the computer starts up (re-executed immediately after the program ends), and the transmission program is monitored before the end of the program for time monitoring (execution at fixed time intervals). The method of stopping for a certain time is adopted.
【0007】[0007]
【作用】送信側計算機に複数の転送対象ファイルを格納
する領域と、受信側計算機のアドレス、複数の転送対象
ファイルを格納している領域名等のファイルの転送に必
要な情報を格納した送信用管理ファイルを設け、受信側
計算機に受信したファイルを格納する領域と、受信用ア
ドレス、受信したファイルを格納する領域名等のファイ
ルの受信に必要な情報を格納した受信用管理ファイルを
準備する。複数計算機への送信および複数計算機からの
受信をするためには、転送対象ファイルを格納する領域
と受信したファイルを格納する領域を送信先と送信元ご
とに複数確保するとともに、送信用管理ファイルと受信
用管理ファイルにはそれぞれ複数の、ファイルの転送に
必要な情報、ファイルの受信に必要な情報を格納する。
送信プログラムは送信用管理ファイルより転送対象ファ
イルを格納している領域名を得、該領域にファイルがあ
ると該ファイルの内容とファイル名を、受信側計算機の
アドレスで転送する。受信プログラムはファイル名とフ
ァイルの内容を受信すると、受信したファイル名で受信
側計算機へファイルを作成した後ファイルの内容を受信
し、受信終了後送信プログラムへ受信終了を通知しプロ
グラムの実行を終了する。送信プログラムは送信用管理
ファイルのすべての情報、すなわち転送対象ファイルを
格納しているすべての領域、および該領域下のすべての
ファイルについて送信処理を行なった後一定時間停止し
再実行するので、作業者は転送対象ファイルを格納する
領域へ転送対象ファイルを登録するだけでファイルを自
動的に、かつ一定時間ごとに繰返し転送でき、作業量の
軽減と作業の確実性が向上する。[Operation] An area for storing a plurality of transfer target files in the sending computer, a receiving computer address, and an area name storing a plurality of files to be transferred A management file is provided, and an area for storing the received file in the receiving computer, and a reception management file that stores information necessary for receiving the file, such as the receiving address and the area name for storing the received file, are prepared. In order to send to and receive from multiple computers, multiple areas for storing the files to be transferred and areas for storing the received files must be secured for each destination and source, and a management file for transmission must be provided. Each of the reception management files stores a plurality of pieces of information necessary for file transfer and information necessary for file reception.
The transmission program obtains the area name storing the transfer target file from the transmission management file, and if there is a file in the area, the contents and file name of the file are transferred at the address of the receiving computer. When the receiving program receives the file name and the contents of the file, it creates the file with the received file name in the receiving computer and then receives the contents of the file. To do. The transmission program performs all the information of the transmission management file, that is, all the areas that store the files to be transferred and all the files under the area, performs the transmission processing, then stops and re-executes for a certain period of time. A person can transfer a file automatically and repeatedly at regular time intervals simply by registering the transfer target file in the area for storing the transfer target file, which reduces the work amount and improves the certainty of the work.
【0008】[0008]
【実施例】以下、本発明の一実施例について図面で説明
する。以下の実施例において、計算機をワークステーシ
ョン、転送対象ファイルを格納する領域、受信ファイル
を格納する領域をディレクトリとし、転送ファイルとデ
ィレクトリをアイコンで表現しているものとする。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In the following embodiments, it is assumed that the computer is a workstation, the area for storing the transfer target file and the area for storing the received file are directories, and the transfer file and the directory are represented by icons.
【0009】図1は、本発明によるファイル転送システ
ムの構成例である。FIG. 1 is a configuration example of a file transfer system according to the present invention.
【0010】図において、アイコンを表示するディスプ
レイ装置1には、ファイルへデ−タ入力するキ−ボ−ド
2と、システム装置4が接続されており、キ−ボ−ド2
にはアイコンを操作するマウス3が接続されている。シ
ステム装置4には、転送対象ファイルを格納するディレ
クトリである送信用ディレクトリ5、受信ファイルを格
納するディレクトリである受信用ディレクトリ6、送信
に必要な各種情報を格納している送信用管理ファイル
7、受信に必要な各種情報を格納している受信用管理フ
ァイル8、文書ファイルを転送する文書ファイル送信プ
ログラム9、一般ファイルを転送する一般ファイル送信
プログラム10、9と10の2つのプログラムを制御す
る送信制御プログラム11、文書ファイルを受信する文
書ファイル受信プログラム12、一般ファイルを受信す
る一般ファイル受信プログラム13、12と13の2つ
のプログラムを制御する受信制御プログラム14が存在
する。In the figure, a display device 1 for displaying icons is connected with a keyboard 2 for inputting data to a file and a system unit 4.
A mouse 3 for operating an icon is connected to. The system device 4 includes a transmission directory 5 which is a directory for storing files to be transferred, a reception directory 6 which is a directory for storing received files, a transmission management file 7 which stores various information necessary for transmission, A reception management file 8 that stores various information necessary for reception, a document file transmission program 9 that transfers a document file, a general file transmission program 10 that transfers a general file, and a transmission that controls two programs 9 and 10. There are a control program 11, a document file receiving program 12 for receiving a document file, a general file receiving program 13 for receiving a general file, and a reception control program 14 for controlling two programs 12 and 13.
【0011】図2は、送信用管理ファイル7と受信用管
理ファイル8の例である。FIG. 2 shows an example of the transmission management file 7 and the reception management file 8.
【0012】送信用管理ファイル7には、ファイル転送
を行うユ−ザ名である送信元ユ−ザ名15、送信用ディ
レクトリ5の名称である送信用ディレクトリ名16、フ
ァイルの受信を行うユ−ザ名である送信先ユ−ザ名1
7、受信側ワ−クステ−ションのアドレスである送信先
アドレス18を1エントリとして、複数エントリが格納
されている。受信用管理ファイル8には、ファイルの受
信を行うユ−ザ名である受信元ユ−ザ名19、受信用デ
ィレクトリ6の名称である受信用ディレクトリ名20、
ファイル転送を行ったユ−ザ名である送信先ユ−ザ名2
1、受信側ワ−クステ−ションのアドレスである受信元
アドレス22を1エントリとして、複数エントリが格納
されている。The transmission management file 7 includes a transmission source user name 15, which is the name of the user who transfers the file, a transmission directory name 16 which is the name of the transmission directory 5, and a user who receives the file. Destination user name 1 which is the name
7. A plurality of entries are stored with the destination address 18, which is the address of the receiving workstation, as one entry. The reception management file 8 includes a reception source user name 19, which is the name of the user who receives the file, a reception directory name 20, which is the name of the reception directory 6,
Destination user name 2 which is the name of the user who transferred the file
1. A plurality of entries are stored, with the receiving source address 22 which is the address of the receiving side workstation as one entry.
【0013】図3は、本発明を利用する際のワークステ
ーションの環境の例である。FIG. 3 is an example of a workstation environment when utilizing the present invention.
【0014】WS−Aの送信用管理ファイル23には、
送信元ユーザ名15としてUSRA24、送信用ディレ
クトリ名16としてdirAB25、送信先ユーザ名1
7としてUSRB26、送信先アドレス18としてWS
−BのアドレスaddrB27が格納されており、受信
用管理ファイル28には、受信元ユ−ザ名19としてU
SRA29、受信用ディレクトリ名20としてdirB
A30、送信元ユーザ名21としてUSRB31、受信
元アドレス22としてaddrA32が格納されてい
る。WS−AのユーザUSRA24の事務環境33に
は、送信用ディレクトリdirAB25の下に転送対象
データdataA34がある。WS−Bの送信用管理フ
ァイル35には、送信元ユーザ名15としてUSRB3
6、送信用ディレクトリ名16としてdirBA37、
送信先ユーザ名17としてUSRA38、送信先アドレ
ス18としてWS−AのアドレスaddrA39が格納
されており、受信用管理ファイル40には、受信元ユ−
ザ名19としてUSRB41、受信用ディレクトリ名2
0としてdirAB42、送信元ユーザ名21としてU
SRA43、受信元アドレス22としてaddrB44
が格納されている。WS−BのユーザUSRB36の事
務環境45には、受信用ディレクトリdirAB42が
ある。In the WS-A transmission management file 23,
USRA24 as the source user name 15, dirAB25 as the transmission directory name 16, and destination user name 1
7 as USRB 26, destination address 18 as WS
-B address addrB27 is stored, and the reception management file 28 stores U as the reception source user name 19.
SRA29, dirB as receiving directory name 20
ARB, USRB31 as the source user name 21, and addrA32 as the source address 22 are stored. In the office environment 33 of the user USRA 24 of WS-A, the transfer target data dataA 34 is under the transmission directory dirAB 25. In the WS-B transmission management file 35, USRB3 is set as the transmission source user name 15.
6, dirBA37 as the transmission directory name 16,
The destination user name 17 is the USRA 38, the destination address 18 is the WS-A address addrA 39, and the receiving management file 40 is the receiving source user.
USRB41 as the name 19 and receiving directory name 2
0 as dirAB42 and sender user name 21 as U
SRA43, addrB44 as the source address 22
Is stored. In the office environment 45 of the user USRB36 of WS-B, there is a receiving directory dirAB42.
【0015】図4から図7は、本発明によるファイル転
送システムの処理フローの例であり、図3の環境を処理
対象としWS−Aを送信側WS−Bを受信側とする。FIGS. 4 to 7 are examples of the processing flow of the file transfer system according to the present invention, where the environment of FIG. 3 is the processing target and WS-A is the transmitting side and WS-B is the receiving side.
【0016】図4は、送信制御プログラムの処理フロー
例である。FIG. 4 shows an example of the processing flow of the transmission control program.
【0017】送信制御プログラムは、UNIXのプロセ
ス生成機能を利用することによりワークステーション立
ち上げ後自動的に実行され、処理終了後自動的に再実行
される。送信制御プログラムは、送信用管理ファイルを
オープン101し、送信用管理ファイルの内容をメモリ
展開102する。メモリ展開した送信用管理ファイル中
の転送元ユーザ名USRA、送信用ディレクトリ名di
rABを基に送信用ディレクトリ名を完全パス名で取得
103する。これにより送信用ディレクトリ名は/US
RA/dirABとなる。その後、該ディレクトリにフ
ァイルが存在するか否かを判定し104、dataAが
存在するので完全パス名で転送ファイル名を取得する1
05。この時の転送ファイル名は/USRA/dirA
B/dataAとなる。その後エラー発生時の転送対象
ファイルを格納するディレクトリアイコンを作成し10
6、転送が成功したファイルを格納するディレクトリア
イコンを作成する107。文書か一般ファイルかという
転送ファイルの種別を知るために転送ファイルアイコン
の付加情報取得108を行う。転送対象ファイルが文書
ファイルか否かを判定し109、転送対象ファイルが文
書ファイルの時、子プロセス名に文書ファイル送信プロ
グラム名を設定する110。転送対象ファイルが一般フ
ァイルか否かを判定し111、転送対象ファイルが一般
ファイルの時、子プロセス名に一般ファイル送信プログ
ラム名を設定する112。その後子プロセスを生成する
113。図3の例では、dataAは一般ファイルであ
るので、一般ファイル送信プログラム名を設定し一般フ
ァイル送信プロセスを生成する。子プロセス終了後、該
プロセスの終了コードを判定し114、終了コードが0
の時転送成功ディレクトリ下へファイルをコピーし11
5、プログラムを一時停止する117。終了コードが0
以外の時エラー用ディレクトリ下へファイルをコピーし
116、プログラムを一時停止する117。転送制御プ
ログラムは一時停止後終了する。転送制御プログラムは
UNIXのプロセス生成機能を利用しているため、処理
終了直後に再実行されてしまい、転送ファイルの有無に
かかわらずプロセス生成と終了を繰返しワークステーシ
ョンに負荷がかかってしまう。そのため、一定時間プロ
グラムを一時停止させることによりワークステーション
の負荷の軽減と一定時間ごとのファイル転送を実現して
いる。The transmission control program is automatically executed after the workstation is started up by utilizing the process generation function of UNIX, and is automatically re-executed after the processing is completed. The transmission control program opens 101 the transmission management file and expands the contents of the transmission management file into the memory 102. Transfer source user name USRA and transmission directory name di in the transmission management file expanded in the memory
Based on rAB, the directory name for transmission is acquired 103 with the complete path name. This causes the sending directory name to be / US
RA / dirAB. After that, it is judged whether or not the file exists in the directory 104, and since the data A exists, the transfer file name is acquired by the complete path name 1
05. The transfer file name at this time is / usra / dirA
B / dataA. After that, create a directory icon to store the file to be transferred when an error occurs.
6. Create 107 a directory icon for storing the successfully transferred file. In order to know the type of the transfer file, which is a document or a general file, additional information acquisition 108 of the transfer file icon is performed. It is determined whether the transfer target file is a document file 109, and when the transfer target file is a document file, the document file transmission program name is set 110 as the child process name. It is determined whether the transfer target file is a general file 111, and when the transfer target file is a general file, the general file transmission program name is set 112 as the child process name. Thereafter, a child process is created 113. In the example of FIG. 3, since dataA is a general file, a general file transmission program name is set and a general file transmission process is generated. After the child process ends, the end code of the process is determined 114, and the end code is 0.
At the time of, copy the file under the transfer successful directory 11
5. Pause 117 the program. Exit code is 0
Otherwise, the file is copied under the error directory 116, and the program is temporarily stopped 117. The transfer control program ends after a pause. Since the transfer control program uses the UNIX process generation function, the transfer control program is re-executed immediately after the process is completed, and the process generation and the process are repeated irrespective of the presence or absence of the transfer file, which puts a load on the workstation. Therefore, by suspending the program for a certain period of time, the load on the workstation is reduced and file transfer is performed at regular intervals.
【0018】図5は、一般ファイル送信プログラムの処
理フロー例である。FIG. 5 shows an example of the processing flow of the general file transmission program.
【0019】一般ファイル送信プログラムは、送信制御
プログラムから転送対象ファイル名/USRA/dir
AB/dataA、受信側ユーザ名USRB、受信ディ
レクトリ名dirAB、受信側ワークステーションのア
ドレスaddrBを渡される。転送ファイルの付加情報
取得処理118を実行して/USRA/dirAB/d
ataAのアイコンの付加情報を取得し、受信ユーザ名
USRB、受信ディレクトリ名dirAB、受信側ワー
クステーションのアドレスaddrB等の送信情報を転
送領域にセットし119、この転送領域の情報を使用し
て通信路確立処理120を行なう。通信路確立処理の結
果を判定し121、通信路の確立に成功した時、ファイ
ル名付加情報送信処理123でファイル名dataA、
dataAの付加情報を送信し、送信成功情報受取12
4で受信プログラムがファイル名付加情報を受け取った
ことを確認後、データ送信処理125でファイルの内容
を送信し、通信路解放処理126で通信路を解放後処理
を終了する。通信路確立処理120に失敗した時、エラ
ーコードを設定122後処理を終了する。The general file transmission program uses the transmission control program to transfer the file name to be transferred / URA / dir.
AB / dataA, the receiving side user name USRB, the receiving directory name dirAB, and the receiving side workstation address addrB are passed. Execute the additional information acquisition processing 118 of the transfer file / URA / dirAB / d
The additional information of the icon of ataA is acquired, and the transmission information such as the reception user name USRB, the reception directory name dirAB, the address of the reception side workstation addrB is set in the transfer area 119, and the information of this transfer area is used to set the communication path. The establishment process 120 is performed. When the result of the communication path establishment processing is judged 121, and the communication path is successfully established, the file name additional information transmission processing 123 executes the file name dataA,
Send additional information of dataA and receive successful transmission information 12
After confirming that the receiving program has received the file name addition information in 4, the data transmission process 125 transmits the contents of the file, and the communication channel releasing process 126 releases the communication channel and finishes the process. When the communication path establishing process 120 fails, an error code is set 122 and the post process ends.
【0020】図6は、受信制御プログラムの処理フロー
例である。FIG. 6 shows an example of the processing flow of the reception control program.
【0021】受信制御プログラムは、UNIXのプロセ
ス生成機能を利用することによりワークステーション立
ち上げ後自動的に実行され、該プログラム終了後自動的
に再実行される。受信制御プログラムは、受信用管理フ
ァイルをオープン127し、受信用管理ファイルの内容
をメモリ展開128する。送信側プログラムからの通信
路確立要求待ち129をする。通信路確立要求があると
通信路を確立し、この時に送られてきた送信先ユーザ名
USRB、送信用ディレクトリ名dirAB、転送ファ
イル名dataAのうち、送信先ユーザ名が先に展開し
た受信用管理ファイルの受信元ユーザ名にあるか否かを
判定し130、USRBという名称があるので受信プロ
グラム起動処理131を行ない終了する。もしユーザ名
がない時はエラーコードを設定132後処理を終了す
る。受信制御プログラムはUNIXのプロセス生成機能
を利用しているため、処理終了後自動的に再実行され
る。これにより、受信制御プログラムは常にファイル受
信可能な状態になっている。The reception control program is automatically executed after the workstation is started up by utilizing the process generation function of UNIX, and is automatically re-executed after the end of the program. The reception control program opens 127 the reception management file and expands the contents of the reception management file 128 in the memory. It waits 129 for a communication path establishment request from the transmitting side program. When there is a request for establishing a communication path, the communication path is established, and of the destination user name USRB, the transmission directory name dirAB, and the transfer file name dataA sent at this time, the reception management that the destination user name expands first. It is determined whether or not the file is in the file receiving source user name 130, and since there is a name of USRB, the receiving program starting process 131 is performed and the process ends. If there is no user name, an error code is set 132 and the post-processing ends. Since the reception control program uses the UNIX process generation function, it is automatically re-executed after the processing is completed. As a result, the reception control program is always ready to receive a file.
【0022】図7は、一般ファイル受信プログラムの処
理フロー例である。FIG. 7 shows an example of the processing flow of the general file receiving program.
【0023】一般ファイル受信プログラムは、受信制御
プログラムから受信元ユーザ名USRB、受信用ディレ
クトリ名dirAB、転送ファイル名dataAを受け
取る。ファイル名・付加情報の受信処理133で転送フ
ァイル名dataAとアイコンの付加情報を受信し、受
信成功情報の発信134でファイル名と付加情報の受信
に成功したことを一般ファイル送信プログラムへ通知
後、受信ファイル・アイコン作成処理135を行ない、
/USRB/dirAB/dataAという受信ファイ
ル・アイコンを作成する。受信ファイルのオープン13
6で受信ファイルをオープン後、データ受信137で転
送ファイルの内容を受信ファイルへ受信する。データ受
信137終了後転送ファイルの内容をすべて受信したか
を判定し138、すべて受信した時受信ファイルをクロ
ーズする139。転送ファイルのすべては受信していな
い時、転送ファイルの受信に失敗したかを判定し14
0、受信に失敗した時受信ファイルのクローズ141を
行い、ファイル・アイコンの削除処理142を実行後、
エラーコードの設定143を実行後終了する。受信に失
敗していない時受信すべき転送ファイルの内容があるの
でデータを格納144後データ受信137を行なう。The general file reception program receives the reception source user name USRB, the reception directory name dirAB, and the transfer file name dataA from the reception control program. In the file name / additional information reception process 133, the transfer file name dataA and the additional information of the icon are received, and in the transmission 134 of the reception success information, the general file transmission program is notified that the reception of the file name and the additional information is successful. Perform the received file / icon creation processing 135,
Create a receive file icon of / USRB / dirAB / dataA. Open received file 13
After opening the reception file in 6, the data reception 137 receives the contents of the transfer file in the reception file. After the data reception 137 is completed, it is determined 138 whether all the contents of the transfer file have been received, and when all the contents have been received, the reception file is closed 139. When not all the transfer files have been received, it is judged whether the reception of the transfer files has failed.
0, when reception is unsuccessful, the received file is closed 141, and after the file / icon deletion processing 142 is executed,
After executing the error code setting 143, the process ends. When the reception has not failed, there is the content of the transfer file to be received, so the data is stored 144 and the data reception 137 is performed.
【0024】本実施例によれば、送信用ディレクトリ下
のファイル/USRA/dirAB/dataAを、自
動的に受信側ワークステーションの受信用ディレクトリ
/USRB/dirABへ格納するので作業者の作業量
の軽減、作業の確実性が向上する。According to the present embodiment, the file / usra / dirAB / dataA under the transmission directory is automatically stored in the reception directory / USRB / dirAB of the workstation on the receiving side, so that the work load of the operator is reduced. , The reliability of work is improved.
【0025】[0025]
【発明の効果】本発明によれば、他計算機へのファイル
転送が必要になった場合、ファイル転送のためのコマン
ドを入力することなく、転送対象ファイルを格納する領
域に転送対象ファイルを格納しておくだけで自動的にフ
ァイル転送を繰り返すので、作業者の作業量の軽減、作
業の確実性が向上するという効果がある。According to the present invention, when it becomes necessary to transfer a file to another computer, the transfer target file is stored in the area for storing the transfer target file without inputting a command for file transfer. Since the file transfer is automatically repeated just by keeping the setting, there is an effect that the work amount of the worker is reduced and the certainty of the work is improved.
【図1】本発明によるファイル転送システムの構成例を
示す図である。FIG. 1 is a diagram showing a configuration example of a file transfer system according to the present invention.
【図2】送信用管理ファイルと受信用管理ファイルの例
を示す図である。FIG. 2 is a diagram showing an example of a transmission management file and a reception management file.
【図3】本発明を利用する際のワークステーションの環
境の例を示す図である。FIG. 3 is a diagram illustrating an example of a workstation environment when utilizing the present invention.
【図4】本発明による送信制御プログラムの処理フロー
例を示す図である。FIG. 4 is a diagram showing an example of a processing flow of a transmission control program according to the present invention.
【図5】本発明による一般ファイル送信プログラムの処
理フロー例を示す図である。FIG. 5 is a diagram showing an example of a processing flow of a general file transmission program according to the present invention.
【図6】本発明による本発明による受信制御プログラム
の処理フロー例を示す図である。FIG. 6 is a diagram showing a process flow example of a reception control program according to the present invention.
【図7】本発明による一般ファイル受信プログラムの処
理フロー例を示す図である。FIG. 7 is a diagram showing an example of a processing flow of a general file reception program according to the present invention.
5…送信用ディレクトリ、 6…受信用ディレクトリ、 7…送信用管理ファイル、 8…受信用管理ファイル、 11…送信制御プログラム、 14…受信制御プログラム。 5 ... Transmission directory, 6 ... Reception directory, 7 ... Transmission management file, 8 ... Reception management file, 11 ... Transmission control program, 14 ... Reception control program.
Claims (1)
するシステムで、送信側計算機に複数の送信対象ファイ
ルを格納する領域と、受信側計算機のアドレス、複数の
送信対象ファイルを格納している領域名等の転送に必要
な情報を格納した送信用管理ファイルを設け、受信側計
算機に受信したファイルを格納する領域と、受信用アド
レス、受信したファイルを格納する領域名等の受信に必
要な情報を格納した受信用管理ファイルを設け、送信側
計算機の送信プログラムは送信用管理ファイルを参照し
て送信側計算機の送信対象ファイルを格納している領域
中のすべての転送対象ファイルを受信側計算機へ自動的
に転送し、時間監視により該転送を繰り返すことによ
り、転送対象ファイルを格納する領域へ転送対象ファイ
ルを登録するだけでファイルを自動的に、かつ一定時間
ごとに繰返し転送できることを特徴とする計算機間のフ
ァイル自動転送方式。1. A system for transferring files using a line between computers, wherein an area for storing a plurality of files to be transmitted is stored in a transmitting computer, an address of a receiving computer, and a plurality of files to be transmitted are stored. A management file for transmission that stores information necessary for transfer such as the area name that is stored is provided, and it is necessary to receive the area that stores the received file in the receiving computer, the receiving address, the area name that stores the received file, etc. A management file for reception that stores various information is provided, and the transmission program of the transmission-side computer refers to the transmission management file to refer to all the transfer-target files in the area that stores the transmission-target files of the transmission-side computer. By automatically transferring to a computer and repeating the transfer by time monitoring, you only need to register the transfer target file in the area for storing the transfer target file. Automatically and the automatic file transfer system between computers, characterized in that it repeatedly transferred at regular intervals the file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5195851A JPH0749818A (en) | 1993-08-06 | 1993-08-06 | Automatic file transfer method between computers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5195851A JPH0749818A (en) | 1993-08-06 | 1993-08-06 | Automatic file transfer method between computers |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0749818A true JPH0749818A (en) | 1995-02-21 |
Family
ID=16348068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5195851A Pending JPH0749818A (en) | 1993-08-06 | 1993-08-06 | Automatic file transfer method between computers |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0749818A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08272582A (en) * | 1995-03-14 | 1996-10-18 | Internatl Business Mach Corp <Ibm> | Computer system for transfer of selectable item between plurality of monitors |
JP2006229953A (en) * | 2005-02-15 | 2006-08-31 | Microsoft Corp | System and method for applying flexible attribute to execute asynchronous network request |
JP2007156511A (en) * | 2005-11-30 | 2007-06-21 | Brother Ind Ltd | Image data transmission system and program for image data transmission system |
JP6284058B1 (en) * | 2016-09-21 | 2018-02-28 | 株式会社日本デジタル研究所 | File transmission / reception management system and method |
-
1993
- 1993-08-06 JP JP5195851A patent/JPH0749818A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08272582A (en) * | 1995-03-14 | 1996-10-18 | Internatl Business Mach Corp <Ibm> | Computer system for transfer of selectable item between plurality of monitors |
JP2006229953A (en) * | 2005-02-15 | 2006-08-31 | Microsoft Corp | System and method for applying flexible attribute to execute asynchronous network request |
US8171138B2 (en) | 2005-02-15 | 2012-05-01 | Microsoft Corporation | System and method for applying flexible attributes to execute asynchronous network requests |
JP2007156511A (en) * | 2005-11-30 | 2007-06-21 | Brother Ind Ltd | Image data transmission system and program for image data transmission system |
JP6284058B1 (en) * | 2016-09-21 | 2018-02-28 | 株式会社日本デジタル研究所 | File transmission / reception management system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6516339B1 (en) | High performance client/server editor | |
US6647473B1 (en) | Kernel-based crash-consistency coordinator | |
US6408328B1 (en) | Self configuring peer to peer inter process messaging system | |
JP2859559B2 (en) | Computer network system, computer system, and clipboard control method | |
JP4365161B2 (en) | Session state sharing method, communication system, and terminal device | |
US5608860A (en) | Method and apparatus for multiple source and target object direct manipulation techniques | |
US20010042093A1 (en) | Information processing system capable of file transmission and information processing apparatus in the system | |
JPS62192849A (en) | Command executing system of computer network | |
Kotay et al. | Transportable agents | |
JP3595564B2 (en) | Document processing apparatus and method | |
JPH0749818A (en) | Automatic file transfer method between computers | |
US20080270480A1 (en) | Method and system of deleting files from a remote server | |
EP0319796A3 (en) | Job control for an on-line system | |
US7962577B2 (en) | Data processing system, data processor, and method of operating data processing system | |
JPH10301884A (en) | Computer system peripherals | |
JP4128443B2 (en) | Data area management method in web browser usage processing system | |
JP2004288023A (en) | Link processor and program | |
JP2607612B2 (en) | Job transfer method | |
JP3014792B2 (en) | Document transmission method and system | |
JP3030153B2 (en) | App cooperation processing device in file transfer | |
US7861242B2 (en) | Mobile application morphing system and method | |
JPH10334002A (en) | System and method for controlling remote operation by electronic mail, and storage medium storing remote operation control program | |
JPH07121457A (en) | Collection/delivery system for remote location | |
JPS593660A (en) | File transfer processing system | |
JPH0922348A (en) | Program creation method and program management method |