rcp between windows and unix

Anyone experience with using rcp to copy data between windows and Unix (AIX)?

It is possible. What is your question?

if you are in unix system,

then the command syntax is :

rcp {source path with the hostname (servername) } { destination path with hostname }

syntax is almost same as cp command in unix

if u want to copy /tmp/tmp_file from current host to a hostname say server1 then the command would be

rcp /tmp/tmp_file server1:/tmp

then the file will get copied to tmp directory in the server1 host

An alternative is to use "scp", on Windows you could either use Cygwin's or Putty's version.

Thanks, rcp is installed by default on windows so no changes are needed on the Windows server.

I noticed that on the AIX system I need to have the exact same user account and password I'm executing the rcp command with on Windows.

Have you used hosts.equiv or anything similar?

I've used hosts.equiv and added the name of the server I'm connecting from.

I also used the .rhosts file in the user home with the name of the server I'm connecting from and the user name I'm connecting with on Windows. The rcp program then logs in on the AIX server but only when I set the password the same on both systems. rcp doesn't ask for a password.

rcp -b -h -r \dir hostname:

This copies the windows directory to a AIX directory.