SCP: an FTP Alternative

Do you really need to run FTP? For example, if you are going to be the only person moving files to and from your server, then you may not need it.

Each Hosting server comes with SSH and SCP (a Secure Copy Program). SCP can be used as a replacement for FTP in most situations. If you use SCP instead of FTP, then that is one less program you’ll need to set up and have running on your server. Plus, SCP ensures that transmitted data and passwords are encrypted and secure.

The ‘scp’ command is included with the PuTTy SSH client. To use it, eg. to copy files to your web server from your local PC, type:

# copy a single file to your server

scp mylocalfile.html root@myserverip:/var/www/html/

# copy a whole directory to your server

scp -r mylocaldirectory root@myserverip:/var/www/html/
And if you want to use the SCP protocol, but don’t like working from the command line, download a copy of WinSCP, a free Windows SCP client.

(from Internet)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s