When you operate some servers, sometime you need to transfer or copy some files from one server to another. There is command line tool that you can use like SCP.
for example:
If you want to copy file from remote server to local server just change the command.
"LocalDestination" can be set to '.' to assign the file to current working directory. '-r' parameter can be set to copy directory recursively.
Another tool you can use is SFTP. It maintain session so you can move files interactively between servers.
$ scp <file> <username>@<IP address or hostname>:<Destination>
for example:
$ scp "file.txt" user1@itb.ac.id:/home/user1/files
If you want to copy file from remote server to local server just change the command.
$ scp <username>@<IP address or hostname>:<Source> <LocalDestination>
"LocalDestination" can be set to '.' to assign the file to current working directory. '-r' parameter can be set to copy directory recursively.
Another tool you can use is SFTP. It maintain session so you can move files interactively between servers.
$ sftp luki@myserver.com
It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read. Best Send files online service provider.
ReplyDelete