blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Rcp

This connectivity command copies files between a Window NT computer and a system running rshd, the remote shell daemon. The rcp command can also be used for third-party transfer to copy files between two computers running rshd when the command is issued from a Windows NT computer. The rshd daemon is available on UNIX computers, but not on Windows NT, so the Windows NT computer can only participate as the system from which the commands are issued. The remote computer must also provide the rcp utility in addition by running rshd.

rcp [-a | -b] [-h] [-r] source1 source2 ... sourceN destination

Parameters

-a

Specifies ASCII transfer mode. This mode converts the carriage return/linefeed characters to carriage returns on outgoing files and linefeed characters to carriage return/linefeeds for incoming files. This is the default transfer mode.

-b

Specifies binary image transfer mode. No carriage return/linefeed conversion is performed.

-h

Transfers source files marked with the hidden attribute on the Windows NT computer. Without this option, specifying a hidden file on the rcp command line has the same effect as if the file did not exist.

-r

Recursively copies the contents of all subdirectories of the source to the destination. Both the source and destination must be directories, although using -r will work even if the source is not a directory. There just will be no recursion.

source and destination

Must be of the form [computer[.user]:]filename. If the [computer[.user]:] portion is omitted, the computer is assumed to be the local computer. If the user portion is omitted, the currently logged on Windows NT username is used. If a fully qualified computer name is used, which contains the period (.) separators, then the [.user] must be included. Otherwise, the last part of the computer name will be interpreted as the username. If multiple source files are specified, the destination must be a directory.

If the filename does not begin with a forward slash (/) for UNIX or a backward slash (\) for Windows NT systems, it is assumed to be relative to the current working directory. On Windows NT, this is the directory from which the command is issued. On the remote system, it is the logon directory for the remote user. A period (.) means the current directory. Use the escape characters (\ , ", or ') in remote paths to use wildcard characters on the remote computer.

More Information About Rcp

ntcmds00000001.gif Rcp--Notes

ntcmds00000001.gif Rcp--Examples

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609