Command to upload files to a server:
scp <file-name> user@server-ip <destination-file-name>
ex: scp mail.jar sarat@some-ip mail.jar
[Above puts the file in user's home directory. Specify particular directory if you wish you place file in a different location]
Command to downloading files from a server:
scp user@server-ip:<file-name> <local-directory-location>
ex: scp sarat@some-ip:mail.jar /home/sarat/Desktop/
Monday, December 8, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment