kayuhnjayuhn
Posts: 1
Joined: Sat Jan 24, 2015 7:06 pm

SSH files to RaspBMC

Sat Jan 24, 2015 7:14 pm

Hello Everyone,
I'm decently new to pis and don't have tons of experience dealing with these kinds of things. I have done a lot of research on how to SSH a file (in this case a .zip) to my pi, but have only found one thing, which of course, just happened to not work. Here is the code that the website gave me to use,

Code: Select all

scp Users/ksta1584/Desktop/repository.bluecop.xbmc-plugins.zip pi@192.192.1.2:~/
This comes up with an error saying that there is no such file or directory, though I know there is. I have double and triple checked to make sure my path to the file is the right one, and it is. I have no idea what is wrong here. Can someone help me out please?
Thanks!

timl
Posts: 44
Joined: Sat May 04, 2013 3:41 am

Re: SSH files to RaspBMC

Sun Jan 25, 2015 4:52 am

Hi,

First: from where are you copying the file? Is it Windows or a Linux distro?

Next
Users/ksta1584/Desktop/repository.bluecop.xbmc-plugins.zi
I think you may find that this is the problem. Did you download the zip file? If you did then you need to specify the filename in the correct directory. EG for a linux system that would likely be:
scp Downloads/repository.bluecop.xbmc-plugins.zip pi@192.192.1.2:~/
Assuming that you pi is 192.192.1.2.

It takes a bit of time getting used to the concepts but keep plugging away and you will get there. Oh, and keep asking questions :)

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: SSH files to RaspBMC

Sun Jan 25, 2015 7:58 am

You could also use FileZilla or WinSCP (Win only) if this
is too complicated. I consider those programs as a real
help as they are relatively easy to use.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SSH files to RaspBMC

Sun Jan 25, 2015 10:57 am

kayuhnjayuhn wrote:

Code: Select all

scp Users/ksta1584/Desktop/repository.bluecop.xbmc-plugins.zip pi@192.192.1.2:~/
You have a syntax error in your command.

Either use (rename it)

Code: Select all

scp Users/ksta1584/Desktop/repository.bluecop.xbmc-plugins.zip pi@192.192.1.2:~/xbmc.zip
or (new directory, new name)

Code: Select all

scp Users/ksta1584/Desktop/repository.bluecop.xbmc-plugins.zip pi@192.192.1.2:~/foo/xbmc.zip
or (home directory, same name)

Code: Select all

scp Users/ksta1584/Desktop/repository.bluecop.xbmc-plugins.zip pi@192.192.1.2:~
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Media centres”