Anas Alzouhbi wrote: > Hello! > I want to transfer a file from my smartphone to the pc, for exemple > the file name is toto4 and the username of my pc is elzouebi > I runned this command > scp toto4 [email protected] , it created a file called > [email protected] on the smartphone :(
You forgot the trailing ':' - the command should read: scp toto4 [email protected]: (the colon is what scp uses to detect a remote location, apparently) > also I runned this command > scp totot4 [email protected]:sender, sender is a folder on my pc Is it a folder in the home folder of "elzouebi", i.e. is it ~elzouebi/sender ? Else you have to give the full path after the colon. > I obtained this error messaj > WARNING: Ignoring unknown argument '-x' > WARNING: Ignoring unknown argument '-oForwardAgent no' > WARNING: Ignoring unknown argument '-oPermitLocalCommand no' > WARNING: Ignoring unknown argument '-oClearAllForwardings yes' > /usr/bin/dbclient: exited: Error connecting: Connection refused > lost connection Is there a ssh server running on your home pc? > what should I do, to copy a file from the smarphone to the pc Why not go the inverse road? Copy the file from your pc with: scp [email protected]:/path/to/toto4 . If you're on Windows, you can also use WinSCP for that. Regards, Andreas Fischer _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

