Computing.Net > Forums > Unix > RCP from UNIX to Windows NT/95/????

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

RCP from UNIX to Windows NT/95/????

Reply to Message Icon

Name: RK
Date: September 22, 2002 at 19:45:24 Pacific
OS: Unix
CPU/Ram: P4 / 128 MB
Comment:

I looking for the exact syntax to RCP the set files from Unix to Windows NT, Can anybody tell me how to do RCP from Unix to Win NT.

Thanks in Advance
RK




Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: September 23, 2002 at 04:17:21 Pacific
Reply:

Providing you have a windows rcp client with a similar syntax to the unix client, the followin should work

rcp hostname:/path/filename /localpath/

rcp - remote file copy

SYNOPSIS
rcp [ -p ] filename1 filename2

rcp [ -pr ] filename ... directory

DESCRIPTION
The rcp command copies files between machines.
Each filename or directory argument is either a remote file
name of the form:

hostname:path

or a local file name (containing no ":" (colon) characters,
or "/" (backslash) before any ":" (colon) characters).

The hostname can be an IPv4 or IPv6 address string. See
inet(7P) and inet6(7P). Since IPv6 addresses already
contain colons, the hostname should be enclosed in a pair
of square brackets. when an IPv6 address is used. Otherwise
the first occurence of a colon can be interpreted as the
separator between hostname and path. For example,

[1080::8:800:200C:417A]:tmp/file

If a filename is not a full path name, it is interpreted
relative to your home directory on hostname. A path on a
remote host may be quoted using \, ", or ', so that the
metacharacters are interpreted remotely.

rcp does not prompt for passwords; your current local user
name must exist on hostname and allow remote command execu-
tion by rsh(1).


0
Reply to Message Icon

Related Posts

See More


Parse Errors balance - html tag



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: RCP from UNIX to Windows NT/95/????

ftp from Unix to Windows NT www.computing.net/answers/unix/ftp-from-unix-to-windows-nt/4959.html

Remote copy from UNIX to Windows 20 www.computing.net/answers/unix/remote-copy-from-unix-to-windows-20/5673.html

Printing from Unix to Windows www.computing.net/answers/unix/printing-from-unix-to-windows-/32.html