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.bar2. Enter the name of the PC in /etc/hosts.equiveg. mywinpc.foo.barOn 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 lcIf 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/myuserIf 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
ftpPutty (scp)