Technical article 127027

How can I transfer files using rcp from my Windows PC to my SCO Unix Server?

OpenServer 6.0.0OpenServer 5.0.7UnixWare 7.1.4

Written · Last revised

Problem

I wish to transfer a file automatically from my Windows PC
to my SCO Unix platform using 'rcp'.  Is this possible?

Solution

Here are some step by steps to accomplish this:

On the SCO Unix Server:
1.  Enter the name of the PC in /etc/hosts or have it be resolved via
    your local DNS:
e.g.   10.10.10.25  mywinpc.foo.bar
2.  Enter the name of the PC in /etc/hosts.equiv
eg.    mywinpc.foo.bar
On the Windows PC:
1.  Enter "rsh" and press ENTER.  If not found that 'rsh' has not
    been implemented on your particular Windows release.
2.  Test functionality with:

rsh <server name or IP> -l <user name> <command>

eg. rsh 10.10.10.22 -l myuser lc

If you get permission denied then the above steps are entered incorrectly.

Please note that this functionality will not work for the 'root' user, you will need to consider an alternative method.

Check /usr/adm/syslog for details.
3.  To transfer a file use:
rcp -b <file>
          <server name or IP>.<user name>:<location>
eg. rcp -b filename 10.10.10.22.myuser:/home/myuser
If you get permission denied then ensure <myuser> has Unix write
permissions to the directory.  Alternatively, try /tmp.
NOTES:    Alternatives, would be to use the free "ftp" which is supplied by
          Windows at the DOS command prompt.

For a GUI based solution, consider a freeware FTP client such as FileZilla from: http://filezilla-project.org

Putty, an freeware terminal emulator, similar to the free "telnet" which is supplied by Windows at the DOS command prompt, supplies a secure copying programme called "pscp".

In addition, there is a Windows version of "rsync" called cwRsync.

See also

ftp
Putty (scp)

From the Xinuos technical article database, record 127027. Reproduced with permission. The original is at www.sco.com/ta/127027, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.