Re: How to ssh copy a file from local to web host when logge…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Fries
Date:  
To: Main PLUG discussion list
Subject: Re: How to ssh copy a file from local to web host when logged in?
From a terminal/console that is not ssh-ed into your web host, copy the
files diectly with scp.

Kevin

On Dec 19, 2010 10:24 AM, <> wrote:


What is the syntax to copy a file from a local computer to a web host
server when logged in to the web host server?

I used to use 'ftp' to upload files to my web host server, but it seems
that in the latest "update" 'ftp has been removed from my system.

So when I 'ssh' log-in to my web host server, what is the correct syntax
to copy a file (or complete directory) from my local system to the
target/destination web host server?

I tried this: cp -p /home/joe/filename.pdf rascal.pdf

But that does not work. It gives this error message:

cp: cannot stat `/home/joe/filename.pdf': No such file or directory



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss