Copy a File to a Remote Server

Copy a File to a Remote Server

Make sure you are on your local machine and not logged in to the remote server in terminal

Tip: drag and drop file into Terminal to get file address

$ scp /Users/username/Desktop/file.txt username@www.example.com:/path/public_html/foldername

Translation: SecureCoPy file on local machine to remote server at this directory path.

Comments are closed.