- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RCP from Unix to Windows NT
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 11:56 PM
11-14-2001 11:56 PM
RCP from Unix to Windows NT
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 12:15 AM
11-15-2001 12:15 AM
Re: RCP from Unix to Windows NT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 01:40 AM
11-15-2001 01:40 AM
Re: RCP from Unix to Windows NT
These do fancy things like remembering connection profiles and passwords, besides giving you a user-friendly interface.
If you're looking for a quick bare-bones way to get your files across, just use ftp.
You may want to compress the files before ftp'ing and uncompress them at the other end. Also, have a look at the man page for ux2dos.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 01:41 AM
11-15-2001 01:41 AM
Re: RCP from Unix to Windows NT
Just check this link
http://www.mkssoftware.com/products/tk/ds_tkdev.asp
Also you can use rcp.exe from NT to do the task.
i have not tried this/?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 01:58 AM
11-15-2001 01:58 AM
Re: RCP from Unix to Windows NT
rcp
for example to copy /etc/hosts from machine1 to c:\temp, the command would be:
rcp machine1:/etc/hosts c:\temp
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 04:42 AM
11-15-2001 04:42 AM
Re: RCP from Unix to Windows NT
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 06:21 AM
11-15-2001 06:21 AM
Re: RCP from Unix to Windows NT
That thread/response mainly talks about executing commands (i.e. r[em]sh(1)) instead of copying files, but what goes for r[em]sh(1), also goes for rcp(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2001 08:51 AM
11-15-2001 08:51 AM
Re: RCP from Unix to Windows NT
echo "
open hostname
user username password
get or put filename
close
" | ftp -i -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 07:44 AM
11-20-2001 07:44 AM
Re: RCP from Unix to Windows NT
Here's a script you can try if you want to use ftp from Unix to NT:
#!/bin/sh
##########################################################################
# Shellscript: transfer.ftp - transfer a file using FTP
##########################################################################
# Description
# - transfers the file to the given host using FTP (binary
# mode)
# - To automate the transfer, a temporary file "$HOME/.netrc"
# will be created (if not already present)
##########################################################################
PN=`basename "$0"` # Program name
VER=`echo '$Revision: 1.3 $' | cut -d' ' -f2`
Netrc=$HOME/.netrc
if [ \( $# -lt 1 \) -o \( ! -r "$1" \) ]
then
echo >&2 "usage: $PN file [hostname] User"
exit 1
fi
File="$1"
Host="${2:-junior}"
Base=`basename "$File"`
User="$3"
# If $HOME/.netrc is readable and contains the target host name,
# try an automatic FTP transfer. Otherwise, create the file
# temporarily, and remove it later on.
[ -r $Netrc ] && grep "$Host" $Netrc > /dev/null || {
# User=`id | sed 's/uid=[0-9][0-9]*(\([^)]*\)).*/\1/'`
echo -n "$PN: password ($User@$Host): "
stty -echo
read PW || { stty echo; exit 1; }
stty echo
echo " OK"
if [ -r "$Netrc" ]
then # Create backup of old .netrc
mv "$Netrc" "$Netrc".$$
trap 'mv "$Netrc".$$ "$Netrc"' 0
else
> "$Netrc"
trap 'rm -f "$Netrc"' 0
fi
trap "exit 2" 1 2 3 15
echo "machine $Host login $User password $PW" >> "$Netrc" || exit 1
chmod 600 "$Netrc"
ls -l "$Netrc"
}
ftp $Host <