|
|
Transfer large file, which command?
|
|
|
|
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status:
Offline
|
|
I need to transfer a large file from one machine to another. I was thinking of using sftp. Or should I use scp? Is one better, more secure? Should I use another command? Thanks....
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally Posted by EnVoy
I need to transfer a large file from one machine to another. I was thinking of using sftp. Or should I use scp? Is one better, more secure? Should I use another command? Thanks....
sftp and scp are pretty much the same, as they both go over the SSH protocol. They're both just as secure as SSH, but for some reason sftp is really slow... I'd definitely use scp.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status:
Offline
|
|
Allright I'll use scp, thanks.
Is this the right syntax:
scp -E user@host1:file1 ... user@host2:file1
to copy the file "file1" from my machine to the remote machine. Do I have that right?
..
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally Posted by EnVoy
Allright I'll use scp, thanks.
Is this the right syntax:
scp -E user@host1:file1 ... user@host2:file1
to copy the file "file1" from my machine to the remote machine. Do I have that right?
Yeah, you have that right as long as "user" is a legit user on host2.
One thing, though, you don't have to specify "user@host1" for the local machine, just use the path to the file:
See?
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|