JPH09146799A - File transfer capacity check method - Google Patents

File transfer capacity check method

Info

Publication number
JPH09146799A
JPH09146799A JP7302822A JP30282295A JPH09146799A JP H09146799 A JPH09146799 A JP H09146799A JP 7302822 A JP7302822 A JP 7302822A JP 30282295 A JP30282295 A JP 30282295A JP H09146799 A JPH09146799 A JP H09146799A
Authority
JP
Japan
Prior art keywords
transfer
file
capacity
destination
source
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
Application number
JP7302822A
Other languages
Japanese (ja)
Inventor
Takae Ishida
貴栄 石田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7302822A priority Critical patent/JPH09146799A/en
Publication of JPH09146799A publication Critical patent/JPH09146799A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide the check method which transfers a file only when the transfer destination has the capacity necessary for an idle file by comparing the capacity of the file to be transferred with the idle capacity of the transfer destination before the transfer of the file. SOLUTION: When a file transfer command is inputted, the size, i.e., the capacity (a) of the file to be transferred is checked (S11). Then the size, i.e., the idle capacity (b) of an idle area in a directory where the transfer file is stored is checked at the transfer destination (S12). The capacity (a) is compared with the capacity (b), and the step proceeds to S14 when a<=b is confirmed, i.e., the idle area of the transfer destination is larger than the size of the transfer file, and the step proceeds to S15 when a>b is confirmed, i.e., the idle area is short (S13). In the S14, the requested file transfer is carried out, and only the error display is carried out in the S15 with no execution of the file transfer. Thus the waste of the circuit load and the waiting time can be evaded.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はファイル転送容量チ
ェック方法に関し、特に転送先の空ファイルの容量を調
査・確認して転送の可否を決定するファイル転送容量チ
ェック方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file transfer capacity checking method, and more particularly to a file transfer capacity checking method for checking transfer capacity of an empty file at a transfer destination to determine whether transfer is possible.

【0002】[0002]

【従来の技術】従来のファイル転送方法においては、転
送中に転送先のファイル容量が不足したときには、その
時点で転送を中止してエラー処理を実行して終了し、そ
の後転送先に新たにファイルを確保してファイル転送を
やり直していた。
2. Description of the Related Art In the conventional file transfer method, when the file capacity of the transfer destination is insufficient during the transfer, the transfer is stopped at that point, error processing is executed and terminated, and then the file is newly transferred to the transfer destination. I was retrieving the file again.

【0003】また、ファイル容量が不足になったとき、
空ファイルを探してそれを確保しながら当初のファイル
転送を継続する方法がある。
When the file capacity becomes insufficient,
There is a way to find an empty file and secure it to continue the initial file transfer.

【0004】さらに、ファイル転送に先立って、転送先
に必要なファイル容量を確保した後にファイル転送を開
始する方法も提案されている。
Further, there has been proposed a method of starting a file transfer after securing a file capacity necessary for the transfer destination before the file transfer.

【0005】[0005]

【発明が解決しようとする課題】上記のように従来のフ
ァイル転送方法においては、転送先でファイル容量が不
足する場合に無駄な処理が発生し、特に大容量のファイ
ルを転送する場合に顕著であった。
As described above, in the conventional file transfer method, useless processing occurs when the file capacity is insufficient at the transfer destination, which is particularly noticeable when transferring a large capacity file. there were.

【0006】また、空ファイルを確保しながら転送処理
を継続する方法は、転送ジョブ全体の処理に長時間を要
し、転送されたファイルが継続した領域にないので、実
用性が良くない。
Further, the method of continuing the transfer process while securing an empty file requires a long time to process the entire transfer job, and the transferred file is not in the continuous area, so that it is not practical.

【0007】さらに、転送先に必要な容量のファイルを
確保した後に転送処理を開始する方法は、転送処理のた
めの前処理(ファイル容量の確保処理)を転送ジョブに
含めて構成しているので、転送ジョブ全体の処理に時間
がかかるばかりでなく煩雑な処理となり実用的とはいえ
ない。
Further, in the method of starting the transfer process after securing a file having a required capacity at the transfer destination, the preprocessing for the transfer process (file capacity securing process) is included in the transfer job. However, not only is the processing of the entire transfer job time-consuming, but also the processing is complicated and not practical.

【0008】本発明の目的は、上記のような従来のファ
イル転送方法の諸問題を回避し、転送先に空ファイルの
必要容量が存在する場合に限りファイル転送を実行する
ファイル転送容量チェック方法を実現することにある。
An object of the present invention is to avoid the problems of the conventional file transfer method as described above, and to provide a file transfer capacity check method for executing file transfer only when a required capacity of an empty file exists at the transfer destination. It is to be realized.

【0009】[0009]

【課題を解決するための手段】本発明のファイル転送容
量チェック方法は、転送元に格納された転送ファイルを
転送先の空ファイル領域に転送する場合に、前記空ファ
イル領域の容量が前記転送ファイルの容量を超えている
ときには前記転送ファイルの転送処理を実行し、前記空
ファイル領域の容量が前記転送ファイルの容量に満たな
いときには前記転送ファイルの転送処理を実行しないよ
うにして実現される。
According to the file transfer capacity check method of the present invention, when a transfer file stored in a transfer source is transferred to an empty file area of a transfer destination, the capacity of the empty file area is equal to that of the transfer file. When the capacity of the transfer file is exceeded, the transfer processing of the transfer file is executed, and when the capacity of the empty file area is less than the capacity of the transfer file, the transfer processing of the transfer file is not executed.

【0010】また、本発明のファイル転送容量チェック
方法は、転送ファイルの容量および転送先のディレクト
リ名を転送元から転送先に通知し、前記転送先は指定さ
れたディレクトリ名の空容量を算出して前記転送ファイ
ルの容量を比較し前記空容量が前記転送ファイルの容量
を超えているか否かを前記転送元に報告し、前記転送元
は前記空容量が前記転送ファイルの容量を超えていると
きには前記転送ファイルを前記転送先に転送し、前記空
容量が前記転送ファイルの容量に満たないときには前記
転送ファイルを前記転送先に転送しないようにして実現
される。
Further, in the file transfer capacity check method of the present invention, the transfer source capacity and the transfer destination directory name are notified from the transfer source to the transfer destination, and the transfer destination calculates an empty capacity of the designated directory name. And compares the transfer file capacities to report to the transfer source whether or not the free space exceeds the transfer file capacity, and the transfer source determines when the free space exceeds the transfer file capacity. It is realized by transferring the transfer file to the transfer destination and not transferring the transfer file to the transfer destination when the free space is less than the capacity of the transfer file.

【0011】さらに、本発明のファイル転送容量チェッ
ク方法は、転送先が転送ファイルの名称を転送元に通知
して前記転送ファイルの容量を報告させ、前記転送先は
前記転送ファイルを受入れるディレクトリ名の空容量を
算出し、前記空容量が前記転送ファイルの容量を超えて
いるときには前記転送元に前記転送ファイルの転送可を
通知し、前記転送元は前記転送可の通知に対応して前記
転送ファイルを前記転送先に転送するようにして実現さ
れる。
Further, in the file transfer capacity check method of the present invention, the transfer destination notifies the transfer source of the name of the transfer file to report the capacity of the transfer file, and the transfer destination specifies the directory name for receiving the transfer file. The free space is calculated, and when the free space exceeds the capacity of the transfer file, the transfer source is notified that the transfer file can be transferred, and the transfer source responds to the transfer enable notification. Is transferred to the transfer destination.

【0012】[0012]

【発明の実施の形態】以下、本発明について図面を参照
しながら説明する。
DETAILED DESCRIPTION OF THE INVENTION The present invention will be described below with reference to the drawings.

【0013】図1は本発明の実施の一形態を示す概念図
である。同図において、本発明のファイル転送容量チェ
ック方法は、転送コマンドが入力されたとき、まず、転
送するファイル(転送ファイル)の大きさ(容量a)を
調査する(S11)。次に、転送先で上記の転送ファイ
ルを格納するディレクトリでの空領域の大きさ(空容量
b)を調査する(S12)。
FIG. 1 is a conceptual diagram showing an embodiment of the present invention. In the figure, in the file transfer capacity check method of the present invention, when a transfer command is input, first, the size (capacity a) of the file to be transferred (transfer file) is investigated (S11). Next, the size of the empty area (empty capacity b) in the directory that stores the transfer file is examined at the transfer destination (S12).

【0014】そして上記のaおよびbを比較し、a≦b
すなわち転送先の空領域が転送ファイルの大きさよりも
大きいときにはS14に移行し、a>bすなわち空領域
が不足するときにはS15に移行する(S13)。
Then, the above a and b are compared, and a ≦ b
That is, if the empty area of the transfer destination is larger than the size of the transfer file, the process proceeds to S14, and if a> b, that is, the empty region is insufficient, the process proceeds to S15 (S13).

【0015】最後にS14では要求されたファイル転送
を実行し、S15ではファイル転送を実行せずにエラー
表示のみ行なう。
Finally, in S14, the requested file transfer is executed, and in S15, the file transfer is not executed and only an error is displayed.

【0016】図2は転送元からコマンドを入力してデー
タを送るPUT型の容量チェック方法を示す説明図であ
る。同図において、まず、入力された転送ファイル名と
転送先ディレクトリ名を認識して転送ファイルの容量を
調べ、その容量と指定されたディレクトリ名をチェック
用データとして転送先へ送る(S21)。
FIG. 2 is an explanatory diagram showing a PUT type capacity check method for inputting a command from a transfer source and transmitting data. In the figure, first, the input transfer file name and transfer destination directory name are recognized, the capacity of the transfer file is checked, and the capacity and the designated directory name are sent to the transfer destination as check data (S21).

【0017】転送先では指定されたディレクトリの空容
量を調べ、転送元から通知された転送ファイル容量と比
較する。そして、空容量が転送ファイル容量を越える場
合を“0”、不足する場合を“1”として転送元に報告
する(S22)。
The transfer destination checks the free capacity of the designated directory and compares it with the transfer file capacity notified from the transfer source. Then, when the free space exceeds the transfer file capacity, “0” is reported, and when the free space is insufficient, “1” is reported to the transfer source (S22).

【0018】転送元は、“0”を受信したときにはデー
タを転送し(S23,S24)、“1”を受信したとき
には容量が不足するというメッセージを出力してデータ
転送を行わない(S23,S25)。
The transfer source transfers data when "0" is received (S23, S24) and outputs a message that the capacity is insufficient when "1" is received and does not transfer data (S23, S25). ).

【0019】図3は転送先でコマンドを入力してデータ
を受け取るGET型の容量チェック方法を示す説明図で
ある。同図において、まず、転送ファイル名を指定して
転送元へ送る(S31)。
FIG. 3 is an explanatory diagram showing a GET type capacity check method of receiving a data by inputting a command at the transfer destination. In the figure, first, a transfer file name is designated and sent to the transfer source (S31).

【0020】そこで転送元は指定されたファイルの容量
を調べチェック用データとして転送先へ報告する(S3
2)。
Then, the transfer source checks the capacity of the designated file and reports it to the transfer destination as check data (S3).
2).

【0021】転送先は受け取り場所であるディレクトリ
の空容量を調査して転送ファイルの容量と比較し、転送
ファイル容量をディレクトリの空容量が越える場合には
転送元へ“0”を送信して転送ファイルを送るよう命令
する(S33,S34)。空容量が不足する場合はその
ままエラーを出力してデータ転送を行なわない(S3
3,S35)。
The transfer destination investigates the free space of the directory which is the receiving place and compares it with the transfer file size. When the transfer file size exceeds the free space of the directory, "0" is transmitted to the transfer source to transfer. Instruct to send the file (S33, S34). If the free space is insufficient, an error is output and the data transfer is not performed (S3).
3, S35).

【0022】なお、転送元は転送先からの指示に従って
データ転送を実行する(S36)。
The transfer source executes the data transfer according to the instruction from the transfer destination (S36).

【0023】[0023]

【発明の効果】以上説明したように本発明によれば、フ
ァイル転送する前に転送ファイル容量と転送先空容量の
比較を行い、転送ファイル容量に対し転送先空容量が不
足する場合はエラーにしてファイル転送を行なわないの
で、いずれエラーが生じるにもかかわらず空容量分のデ
ータを転送するという回線負荷および待ち時間の無駄を
回避するという効果がある。
As described above, according to the present invention, the transfer file capacity is compared with the transfer destination free capacity before file transfer, and if the transfer destination free capacity is insufficient with respect to the transfer file capacity, an error occurs. Since file transfer is not performed by the above method, there is an effect of avoiding the line load and the waste of waiting time of transferring the data of the empty capacity regardless of the occurrence of an error.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態を示す概念図。FIG. 1 is a conceptual diagram showing an embodiment of the present invention.

【図2】PUT型の動作例を示す説明図。FIG. 2 is an explanatory diagram showing an example of a PUT type operation.

【図3】GET型の動作例を示す説明図。FIG. 3 is an explanatory diagram showing a GET type operation example.

【符号の説明】[Explanation of symbols]

S11 転送ファイルの大きさを調べるステップ S12 転送先の空領域の大きさを調べるステップ S13 比較して判断するステップ S14 ファイル転送を実行するステップ S15 エラーを表示するステップ S11 Step for checking size of transfer file S12 Step for checking size of transfer destination empty area S13 Step for making comparison S14 Step for executing file transfer S15 Step for displaying error

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 転送元に格納された転送ファイルを転送
先の空ファイル領域に転送する場合に、前記空ファイル
領域の容量が前記転送ファイルの容量を超えているとき
には前記転送ファイルの転送処理を実行し、前記空ファ
イル領域の容量が前記転送ファイルの容量に満たないと
きには前記転送ファイルの転送処理を実行しないことを
特徴とするファイル転送容量チェック方法。
1. When transferring a transfer file stored in a transfer source to an empty file area of a transfer destination, when the capacity of the empty file area exceeds the capacity of the transfer file, transfer processing of the transfer file is performed. A method for checking file transfer capacity, which is executed, and when the capacity of the empty file area is less than the capacity of the transfer file, the transfer processing of the transfer file is not executed.
【請求項2】 転送ファイルの容量および転送先のディ
レクトリ名を転送元から転送先に通知し、前記転送先は
指定されたディレクトリ名の空容量を算出して前記転送
ファイルの容量を比較し前記空容量が前記転送ファイル
の容量を超えているか否かを前記転送元に報告し、前記
転送元は前記空容量が前記転送ファイルの容量を超えて
いるときには前記転送ファイルを前記転送先に転送し、
前記空容量が前記転送ファイルの容量に満たないときに
は前記転送ファイルを前記転送先に転送しないことを特
徴とするファイル転送容量チェック方法。
2. The transfer file capacity and the transfer destination directory name are notified from the transfer source to the transfer destination, and the transfer destination calculates an empty capacity of the designated directory name and compares the transfer file capacities. The transfer source reports whether or not the free space exceeds the transfer file capacity, and the transfer source transfers the transfer file to the transfer destination when the free space exceeds the transfer file capacity. ,
A file transfer capacity check method, wherein the transfer file is not transferred to the transfer destination when the free space is less than the capacity of the transfer file.
【請求項3】 転送先が転送ファイルの名称を転送元に
通知して前記転送ファイルの容量を報告させ、前記転送
先は前記転送ファイルを受入れるディレクトリ名の空容
量を算出し、前記空容量が前記転送ファイルの容量を超
えているときには前記転送元に前記転送ファイルの転送
可を通知し、前記転送元は前記転送可の通知に対応して
前記転送ファイルを前記転送先に転送することを特徴と
するファイル転送容量チェック方法。
3. The transfer destination notifies the transfer source of the name of the transfer file to report the capacity of the transfer file, and the transfer destination calculates an empty capacity of a directory name for receiving the transfer file, and the free capacity is When the capacity of the transfer file is exceeded, the transfer source notifies the transfer file that the transfer file is transferable, and the transfer source transfers the transfer file to the transfer destination in response to the transfer enable notification. How to check file transfer capacity.
JP7302822A 1995-11-21 1995-11-21 File transfer capacity check method Pending JPH09146799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7302822A JPH09146799A (en) 1995-11-21 1995-11-21 File transfer capacity check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7302822A JPH09146799A (en) 1995-11-21 1995-11-21 File transfer capacity check method

Publications (1)

Publication Number Publication Date
JPH09146799A true JPH09146799A (en) 1997-06-06

Family

ID=17913518

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7302822A Pending JPH09146799A (en) 1995-11-21 1995-11-21 File transfer capacity check method

Country Status (1)

Country Link
JP (1) JPH09146799A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644152A (en) * 1992-04-16 1994-02-18 Nec Corp File transfer system
JPH06103144A (en) * 1991-11-13 1994-04-15 Nec Corp Information processing system
JPH06332817A (en) * 1993-05-18 1994-12-02 Fujitsu Ltd File transfer device for terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06103144A (en) * 1991-11-13 1994-04-15 Nec Corp Information processing system
JPH0644152A (en) * 1992-04-16 1994-02-18 Nec Corp File transfer system
JPH06332817A (en) * 1993-05-18 1994-12-02 Fujitsu Ltd File transfer device for terminal

Similar Documents

Publication Publication Date Title
US5890159A (en) Data transfer mechanism between databases using a separate pipe at each database
JPH09146799A (en) File transfer capacity check method
JPH11149443A (en) Interconnection system between personal computer and computer work station
CN111966508A (en) Message batch sending method and device, computer equipment and storage medium
KR100301579B1 (en) Method for processing operator command of bsm in digital mobile communication system
JPH0778113A (en) Communication data processor
JP2820942B2 (en) Communication protocol processing method
JP2596173B2 (en) Communication controller for multilink
JP2000172332A (en) Plant monitoring device and system
JPH03117067A (en) Automatic conversion processing method for office data
JPH01232852A (en) Communication control system
JPH05282225A (en) Intra-terminal data communication equipment
JPH02109101A (en) Monitoring device
JPS6194438A (en) Communication controller
JPS6366653A (en) Loading system for terminal attribute data
JPS58144943A (en) Terminal device for document production communication
JPH05298251A (en) Automatic information system for end state of background job
JPH06295247A (en) Real time processing realizing method
JPH1040225A (en) Duplex controller
JPH0728751A (en) Transfer control system
JPH0827729B2 (en) Message queue incoming management method
JPH0991249A (en) Batch processing method for horizontal distributed processing
JPH05260241A (en) Vector data raster data converter having facsimile transmission function
JPS59116847A (en) Multiple procedure linking system of display terminal
JPH02297270A (en) Character string batch substitute system for decentralized process type editor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980324