Saturday, October 6, 2007

Upload file at command line

This can be done using SCP of SSH, example is like


scp -2 /path/of_your/filename.txt you@yoursite.com:/home/username/


See how to use other switches here.

You'll be prompted to enter password of course as switch '-2' is for secured protocol.

No comments:

Post a Comment