Don P
Don P

Reputation: 63567

Download a file from remote server in UNIX

I have a file on a remote server that I can connect to via ssh. I would like to copy the file from the remote server at the path: '/home/example.txt' to my computer's desktop.

Should I be using wget, sftp, ftp, or simply rm?

Bonus points if you know a good resource for UNIX documentation, since google's results were not great.

Upvotes: 3

Views: 15390

Answers (4)

Pradeep
Pradeep

Reputation: 3468

Try Filezilla Utility More info on http://filezilla-project.org/

Upvotes: 0

MartyE
MartyE

Reputation: 646

scp or rcp if you don't want/need to be secured. Or alternatively rsync will be nicer for anything more complicated with remote file transferring on a regular basis.

For the documentation, look at the man pages, ex: man scp. Or online at

Upvotes: 0

user827992
user827992

Reputation: 1753

None of them, you should use scp

Upvotes: 2

Nikolai Fetissov
Nikolai Fetissov

Reputation: 84159

Use scp(1):

~$ scp user@host:/home/example.txt .

Upvotes: 10

Related Questions