Tuesday, April 5, 2011

FTP,SCP command

ftp  <remote hostname>
It will ask for Username and password of remote system
ftp> put  <local to remote file>
ftp>get <remote to local file>
ft>bye  (exit from ftp)
Goodbye message

SCP command

Example of a scp download:

# scp user@machine:/path/to/remote/file /local/directory

Example of a scp upload:

# scp /local/file(s)/to/transfer user@machine:/remote/dir/to/transfer/to
Example

scp user@machine:/path/to/remote/file /local/directory

# scp user@machine:/path/to/remote/file /local/directory

Example of a scp upload:

# scp /local/file(s)/to/transfer user@machine:/remote/dir/to/transfer/to
Example

scp user@machine:/path/to/remote/file /local/directory

No comments:

Post a Comment