Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

File copying

From Wikipedia, the free encyclopedia
(Redirected fromNCOPY)
Operation which creates a new digital file with contents identical to another
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "File copying" – news ·newspapers ·books ·scholar ·JSTOR
(December 2009) (Learn how and when to remove this message)

In digitalfile management,copying is afile operation that creates a newfile which has the same content as an existing file. Computeroperating systems include file copying methods to users; operating systems withgraphical user interfaces (GUIs) often providingcopy-and-paste ordrag-and-drop methods of file copying. Operating systems may have specialized file-copyingAPIs are usually able to tell the server to perform the copying locally, without sending file contents over the network, thus greatly improving performance.

Description

[edit]

File copying is the creation of a newcopyfile which has the same content as an existing file.

Shadow

[edit]

There are several different technologies that use the termshadowing, but the intent of shadowing within these technologies is to provide an exact copy (ormirror of a set) of data. For shadowing to be effective, the shadow needs to exist in a separate physical location than the original data. Depending on thereasons behind the shadow operation, this location may be as close as the BIOS chip to the RAM modules, a second harddrive in the same chassis, or as far away as the other side of the globe.

Use

[edit]

All computeroperating systems include file copying provisions in the user interface, like the command, "cp" inUnix and "COPY" inDOS; operating systems with agraphical user interface, orGUI, usually providecopy-and-paste ordrag-and-drop methods of file copying. File manager applications, too, provide an easy way of copying files.

Implementation

[edit]

Internally, however, while some systems have specializedapplication programming interfaces (APIs) for copying files (like CopyFile and CopyFileEx inWindows API), others (like Unix and DOS) fall back to simply reading the contents of the old file and writing it to the new file.

This makes little difference with local files (those on the computer's hard drive), but provides an interesting situation when both the source and target files are located on a remotefile server. Operating systems with specialized file copying APIs are usually able to tell the server to perform the copying locally, without sending file contents over the network, thus greatly improving performance. Those systems that have no comparable APIs, however, have to read the file contents over the network, and then send them back again, over the network. Sometimes, remote file copying is performed with a specialized command, like "NCOPY" in DOS clients forNovell NetWare. TheCOPY command in some versions ofDR-DOS since 1992,[1] has built-in support for this.An even more complicated situation arises when one needs to copy files between two remote servers. The simple way is to read data from one server, and then to write the data to the second server.

See also

[edit]

References

[edit]
  1. ^"Caldera OpenDOS Machine Readable Source Kit (M.R.S) 7.01".Caldera, Inc. 1997-05-01.Archived from the original on 2021-08-07. Retrieved2022-01-02.[1] (NB. Actually implemented sinceDR DOS "Panther" on 1992-06-22, see COMCPY.C/DOSIF.ASM in the COMMAND.COM sources ofOpenDOS 7.01.)

Further reading

[edit]

External links

[edit]
Types
Properties
Organisation
Operations
Linking
Management
Retrieved from "https://en.wikipedia.org/w/index.php?title=File_copying&oldid=1211288847#NCOPY"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp