10-08-2007
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.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Now I want to copy a directry from Sco Unix at Windows NT 4.0 with Sp6. But I always meet the Permision Refuse error.
I need your help. GOD
Thank you very much. (1 Reply)
Discussion started by: livic
1 Replies
2. IP Networking
I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known.
What can I do to resolve my probleme ?
Dimitri
Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies
3. UNIX for Dummies Questions & Answers
I am attempting to use "rcp" to transfer files from a linux box(redhat) to a windows 2000 server box and keep getting a "connection refused" message.
Are there any special services/daemons on either side that I need running or any special ports I need open to do this? How about files? I read... (1 Reply)
Discussion started by: mcrouch_2003
1 Replies
4. UNIX for Advanced & Expert Users
rcp user@hostname:sourcefile destfile
when i use the above command i get the followin error:
remshd:login incorrect.
i have taken care of entries in .rhosts and hosts.equiv. the userid
on both the system is the same. is there any thing i have missed out
please help me (4 Replies)
Discussion started by: nvg_hal
4 Replies
5. Windows & DOS: Issues & Discussions
Hello,
Native XP rcp does not have a password prompt as far as I can see. I require a rcp.exe to copy a file from Sco to my XP pc. I did have this program that was part of pcnfs a few years ago.
I need to run a scheduled batch job from a command line being.
rcp.exe 192.168.5.33 -user root... (0 Replies)
Discussion started by: phil martin
0 Replies
6. UNIX for Dummies Questions & Answers
My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1... (1 Reply)
Discussion started by: NycUnxer
1 Replies
7. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
8. Shell Programming and Scripting
Hi,
I have a requirement to move the files between two drives in windows machine from Korn sheel. I came to know that It can be done through RCP.
Can any one help me with syntax for connecting to Windows machine and moving the files with RCP in KSH?
Thanks in advance.
Double post.... (0 Replies)
Discussion started by: Raamc
0 Replies
9. Shell Programming and Scripting
Hi,
I have a requirement to copy the files from C drive on Windows to UNIX, once the files are copied I need to delete them from that drive (C:).
A drive is also on same network as my unix, so I was asked to use RCP for copying the files. Can any one have the syntax to copy the files from... (0 Replies)
Discussion started by: Raamc
0 Replies
10. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
LEARN ABOUT DEBIAN
netkit-rcp
RCP(1) BSD General Commands Manual RCP(1)
NAME
rcp -- remote file copy
SYNOPSIS
rcp [-px] [-k realm] file1 file2
rcp [-px] [-r] [-k realm] file ... directory
DESCRIPTION
Rcp copies files between machines. Each file or directory argument is either a remote file name of the form ``rname@rhost:path'', or a local
file name (containing no `:' characters, or a `/' before any `:'s).
-r If any of the source files are directories, rcp copies each subtree rooted at that name; in this case the destination must be a direc-
tory.
-p The -p option causes rcp to attempt to preserve (duplicate) in its copies the modification times and modes of the source files, ignor-
ing the umask. By default, the mode and owner of file2 are preserved if it already existed; otherwise the mode of the source file mod-
ified by the umask(2) on the destination host is used.
-k The -k option requests rcp to obtain tickets for the remote host in realm realm instead of the remote host's realm as determined by
krb_realmofhost(3).
-x The -x option turns on DES encryption for all data passed by rcp. This may impact response time and CPU utilization, but provides
increased security.
If path is not a full path name, it is interpreted relative to the login directory of the specified user ruser on rhost, or your current user
name if no other remote user name is specified. A path on a remote host may be quoted (using , ", or ') so that the metacharacters are
interpreted remotely.
Rcp does not prompt for passwords; it performs remote execution via rsh(1), and requires the same authorization.
Rcp handles third party copies, where neither source nor target files are on the current machine.
SEE ALSO
cp(1), ftp(1), rsh(1), rlogin(1)
HISTORY
The rcp command appeared in 4.2BSD. The version of rcp described here has been reimplemented with Kerberos in 4.3BSD-Reno.
BUGS
Doesn't detect all cases where the target of a copy might be a file in cases where only a directory should be legal.
Is confused by any output generated by commands in a .login, .profile, or .cshrc file on the remote host.
The destination user and hostname may have to be specified as ``rhost.rname'' when the destination machine is running the 4.2BSD version of
rcp.
Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)