[Wolves] Two quick questions:

Ron Wellsted ron at wellsted.org.uk
Thu Apr 28 13:41:57 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 28 Apr 2005, Wayne Morris wrote:

> Stuart Langridge wrote:
>
>> On 4/28/05, Wayne Morris <wayne at machx.co.uk> wrote:
>> 
>> 
>> > I've just about figured out using SCP to copy files from linux host to
>> > linux host, but can't quite get the sysntax right for
>> > copying from a linux host to a windows host (where I am running putty).
>> > It should be :
>> > scp root at linuxbox:/home/username/* c:\destination\*
>> > 
>> > or not?
>> > 
>> > 
>> 
>> Nearly. Think of it as a COPY command: if you want to copy lots of
>> files to a directory then you just specify the directory as the second
>> thing:
>> 
>> COPY c:\source\*.* c:\destination\
>> 
>> and scp works the same way
>> 
>> scp user at linux:/home/user/source/* c:\destination\
>> 
>> Aq.
>> 
>> 
> I've redefined my problem -
> I'm working at a windows computer (which doesn't have SCP therefore ) and I 
> wish to grab files from a linux computer.
> So I use putty and I am now logged in as a user on the linux box and thus I 
> am effectively trying to send local files TO a remote windows box? (the fact 
> that
> I'm using it is irrelevant at this point).
> So would the sysntax want to be something like:
>
> scp /home/user/source/*  windowshostname:c:\destination\
>
> the destination is the bit I can't grasp, in linux it would be 
> root at hostname:/path/ - how do you translate that into a windows host and 
> path?
> will windows accept an scp connection like this?
>
> Cheers
>
use pscp (a putty equivalent to scp)

pscp linuxuser at linuxhost:/linux/path c:/windows/path

(note some windows programs will accept / or \ in the path)


- -- 
Ron Wellsted
http://www.wellsted.org.uk
ron at wellsted.org.uk
FWD: 519961
N 52.567623, W 2.137621
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBQnDZq0tP/KMNOfRbAQLJ3wf+JyWtCd33pUtKSPSWvMR74/2gy1lhRMh/
WQKWTmfr5my2MeS2+qM1oNTJg0AdKVgD2C+6wRrPCydsIRxubLQrRtjHtodWhdfe
5J29On7QPZfb2qbbs6+lamSKsnNHYY8MHV4+b7KOCLY7zT2asM+9OvQI8CApFJ3E
BUIWEJ1CzJlYvi8nkqNv4rjfJP+4phruGJ+N4Ug/l2DH3BsD8nisPypPj53/4T0y
ptufyFdjqEidc+mOrWZ4SwfiTnBiQcZlFZtMfmhV0IT5vtWAYZZ0+XnEfvIBKblz
BhkRppTUmhL7MV5Ns5n7iyWIGL2CDgYIGnWwb2o0IcHBhXENm2kBDA==
=YojB
-----END PGP SIGNATURE-----



More information about the Wolves mailing list