Article ID: 324061 - Last Review: June 25, 2004 - Revision: 4.0 HOW TO: Transfer by Means of RCP in a UNIX-to-Windows MigrationThis article was previously published under Q324061 On This PageSUMMARY
The remote copy (RCP) tool is a standard UNIX tool and a Microsoft Windows 2000 tool. You can use this tool to transfer a file and recursively transfer the whole directory between two computers. Configuring the UNIX HostBefore you can use the RCP tool from a Windows-based computer, you must turn on the RCP service and update the security files to allow the Windows-based computer to connect to your computer over this service.To turn on the RCP service by using inetd:
Transfer a Single FileTo transfer a single file, you must supply the hostname, the username, the path of the source file, and the path of the destination file that you want the file copied to. For example, to copy the file Index.html from the path /usr/local/htdocs on the computer unixhost as the user webuser you must use:rcp unixhost.webuser:/usr/local/htdocs/index.html index.html Transfer a Whole DirectoryTo transfer a whole directory, which includes all of the directory contents and subdirectories, add the -r command line option to the command. For example, to copy the whole Htdocs directory from your UNIX computer to the directory C:\inetpub\unixweb you must use:rcp -r unixhost.webuser:/usr/local/htdocs C:\InetPub\UnixWeb REFERENCESFor additional information about preparing to move data for a migration from UNIX to Windows, click the article number below
to view the article in the Microsoft Knowledge Base:
324538
(http://support.microsoft.com/kb/324538/EN-US/
)
HOW TO: Migrate Web Site Data in a UNIX-to-Windows Migration
| Article Translations
|
Back to the top
