- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how copy a file from one server to another server
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
Discussions
Discussions
Forums
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
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
тАО12-09-2010 01:25 PM
тАО12-09-2010 01:25 PM
how copy a file from one server to another server
can u give me complete reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 01:35 PM
тАО12-09-2010 01:35 PM
Re: how copy a file from one server to another server
ftp
sftp
rcp
scp
cp via nfs
cp via cifs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 02:24 PM
тАО12-09-2010 02:24 PM
Re: how copy a file from one server to another server
http
removable medium (disk (magnetic or optical),
tape (punched, magnetic), ...)
> [...] one server to another server
Not much of a description of anything.
> can u give me complete reference
Can you ask a complete question (that is, one
with any useful information in it)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 02:27 PM
тАО12-09-2010 02:27 PM
Re: how copy a file from one server to another server
if that is a text file
then
cat file
select-all
right click ## Ooops putty might paste it right there
copy
paste
fi
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 02:31 PM
тАО12-09-2010 02:31 PM
Re: how copy a file from one server to another server
ROFL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 02:47 PM
тАО12-09-2010 02:47 PM
Re: how copy a file from one server to another server
seriously flexible.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2010 10:19 PM
тАО12-09-2010 10:19 PM
Re: how copy a file from one server to another server
just do this: sitting on the source server
#scp -r
F.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2010 01:16 AM
тАО12-10-2010 01:16 AM
Re: how copy a file from one server to another server
ftp
put
bye
Execute these commands or use scp -r
Eg:- ftp 192.168.19.22
> put /tmp/vg01.map
> bye
OR
# scp -r 192.168.19.22:/tmp/vg01.map /tmp/vg01.map
You have assigned points to 0 of 22 responses. Don't forget to assign points. :)
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2010 07:05 AM
тАО12-10-2010 07:05 AM
Re: how copy a file from one server to another server
> # scp -r 192.168.19.22:/tmp/vg01.map [...]
Why use "scp -r" for a non-directory file?
> [...] Don't forget to assign points. :)
Don't forget to ask a question which contains
enough information to make an answer
possible. _Then_ worry about points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2010 08:45 AM
тАО12-10-2010 08:45 AM
Re: how copy a file from one server to another server
export thishost=$(uname -n)
export localfile=/var/tmp/useless
export remotefile=/var/tmp/useless
export remotehost=host1
export user=ww528437
export password=yecfoday
/usr/bin/expect --<
spawn ssh $user@$remotehost ;
expect "assword:" {
send "$password\r"
}
expect "$ " {
send "scp $remotefile $thishost:$localfile\r"
}
expect "$ " {
send "exit\r"
}
EOF