RCP Requires -b Switch for Binary CopyLast reviewed: May 6, 1997Article ID: Q101064 |
The information in this article applies to:
When using the UNIX RCP (Remote Copy Program) command, binary files will not copy correctly because RCP uses the ASCII transfer mode by default. Using the -b switch will solve this problem. Example: RCP -b [HOST1.][USER1:]SOURCE [HOST2.][USER2:] path/destination
MORE INFORMATIONOther parameters for the RCP command are as follows:
-a Specifies the ASCII transfer mode (this is the default). This mode converts between End-of-Line characters: CR for UNIX and CR/LF for PCs. -h Used to transfer hidden files. -r If any of the source files are directories, RCP recursively copies each subtree rooted at that name; the destination must must be a directory. -p Attemp to give each copy the same modification times, access times, and modes as the original file.RCP requires that the source host have permissions to execute commands on the remote host.
|
Additional query words: prodnt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |