LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to copy files from a remote server (https://www.linuxquestions.org/questions/linux-general-1/how-to-copy-files-from-a-remote-server-353687/)

man1979 08-16-2005 12:23 AM

how to copy files from a remote server
 
Hi to everybody.

I am new using linux and I want to copy some files from a remote
server to my computer.

The problem that I have is the following:
I connect to the remote server and after i am going to the directory where
the files are.
I write to the console scp plus the files that i want to copy but i dont know how
to continue defining where to copy this files. I want to copy these files to
my personal computer in a directory.

Does anybody knows the exact command and how to use it?

I appreciate any help.

Thanks a lot.

Philelec 08-16-2005 02:10 AM

Example from home to remote computer :

scp -r ./Source_directory/ username@192.168.1.xx:/destination_directory

option -r for recursive.


;)

man1979 08-16-2005 04:06 AM

Thanks a lot for your help.

I assume that from remote to home computer is the same just only I have to
change the paths.

Is that right?


Thanks again?

alan.belizario 08-16-2005 06:08 AM

you can download winscp in sourceforge.net we use this to upload and backup our webserver.


All times are GMT -5. The time now is 11:43 AM.