maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   scp acting funny can any one help? (https://talk.maemo.org/showthread.php?t=54134)

jamie721 2010-05-27 22:10

scp acting funny can any one help?
 
Two minuets ago i scp'ed a file to my n900 ran it it worked. I then went to console on my phone and proceeded to delete it i got permission denied. so i typed root went back to the location and rm removed it. I then went back to my scratchbox and attempted to scp the file again i know get this error.

[sbox-FREMANTLE_ARMEL: ~/proxyswitcher-0.1.orig/src] > scp root@192.168.0.4:/usr/lib/hildon-desktop/proxy-switcher proxy-switcher
root@192.168.0.4's password:
scp: /usr/lib/hildon-desktop/proxy-switcher: No such file or directory


could any body help.and yes the build is in the src folder.

Big Phat Jan 2010-05-27 22:19

Re: scp acting funny can any one help?
 
That command is attempting to copy from your N900 (192.168.0.4) to scratchbox, but you said you'd deleted the file from your N900, ergo "file not found". To copy from scratchbox to your N900, try:

scp proxy-switcher root@192.168.0.4:/usr/lib/hildon-desktop/proxy-switcher

Cheers,
Jan

mr id 2010-05-27 22:19

Re: scp acting funny can any one help?
 
have you got the source and destination the wrong way around in the scp command?

jamie721 2010-05-27 22:33

Re: scp acting funny can any one help?
 
omg i am a fool i should have guessed. wired tho i thought it worked last time but i must have copyed it back to my computer like you guys said. as i had previously used winscp in windows to copy one over. but decided that i should just use the scp in ubuntu.


All times are GMT. The time now is 16:22.

vBulletin® Version 3.8.8