SCP TERMINAL, DIRECTORY NOT FOUND OR FILE NOT FOND..

Hello I'm new to mac and find it a little different from windows with terminal. I'm trying to upload a file to a server using terminal with scp.

-bash-3.00$ scp Users/andrewkemp/Desktop/index.html web
cp: cannot stat `Users/andrewkemp/Desktop/index.html': No such file or directory
-bash-3.00$

What is the route to the desktop because its obviously not seeing it? Someone help please??? 🙂

Macbook, Mac OS X (10.5.1)

Posted on Apr 17, 2008 7:25 AM

Reply
4 replies

Apr 17, 2008 7:51 AM in response to Wicked18

Didn't work, it has to be really simple but I just don't know how.

I did what you said ~ and it didn't do anything see below:

lion ece70132 107# ssh uXXXXX@b144.raq1.ee.port.ac.uk
uXXXXX@b144.raq1.ee.port.ac.uk's password:
Last login: Thu Apr 17 15:30:42 from lion
-bash-3.00$ ls
Network Trash Folder Private web
-bash-3.00$ scp ~Desktop/index.html web
cp: cannot stat `~Desktop/index.html': No such file or directory
-bash-3.00$

All I want to do is to get a index.html file which is located on my desktop on my pc to the server.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SCP TERMINAL, DIRECTORY NOT FOUND OR FILE NOT FOND..

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.