|
How to: Transfer files between local machine and server using scp
|
|
01-27-2009, 03:39 PM
(This post was last modified: 03-03-2009 11:10 AM by caejournal.)
Post: 1
|
|||
|
|||
|
More of like a tip than a howto
![]() Here is how to transfer files between local machine and a remote server using Code: scpFrom local to remote: Code: scp filename username@server.name.full:/path/to/directory/From remote to local: Code: scp username@server.name:/path/to/filename .Take a note on the '.' (dot) at the end of the above command. it means 'here'. So the file will be copied to the location where you type the command from. One can also specify a path. Also Code: scpThat's it. Simple steps. Hope this is useful for someone. |
|||
|
01-28-2009, 11:56 AM
Post: 2
|
|||
|
|||
|
Good one. Thanks.
It can also be used to transfer files between two remote servers (of course if they are connected and you have access to both of them). |
|||
|
02-14-2009, 11:52 AM
Post: 3
|
|||
|
|||
|
good reference
|
|||
|
03-13-2009, 01:12 PM
Post: 4
|
|||
|
|||
|
++
to copy a folder and its contents, just ad the '-r' flag like this: Code: scp -r folder/ username@server.name.full:/path/to/directory/
|
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| How to get GUI (using Cygwin) from a remote server | kinematic | 3 | 571 |
01-18-2009 04:14 AM Last Post: femnoob |
|
Powered By MyBB, © 2002-2010 MyBB Group |
© 2010 CAE Journal (Computer Aided Engineering Journal)
Product names and trademarks are the property of the respective trademark holders.
None of the trademark holders listed are affiliated with this website or forum.
No endorsement of any information, service or product by any company or person is made or implied.
Product names and trademarks are the property of the respective trademark holders.
None of the trademark holders listed are affiliated with this website or forum.
No endorsement of any information, service or product by any company or person is made or implied.
