This is a multi-part message in MIME format. ------=_NextPart_000_0031_01C184A6.55098790 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: ftpyou can also try rsync, which will do recursive and will preserve = group and user permissions. man rsync slr ----- Original Message -----=20 From: David Mandala=20 To: 'plug-discuss@lists.PLUG.phoenix.az.us'=20 Sent: Friday, December 14, 2001 1:45 PM Subject: RE: ftp Since you have ssh installed on the computer them you most likely have = scp also installed. scp will do a recursive copy with compression so it = has some major advantages over ftp: secure, easy to use (like the = command line copy command on windows) and works every time. On your Linux box type man scp. Also if you are doing this between two = Linux boxes check and see if rsync is installed (type man rsync) if so = use it with the "-avz -e ssh" options active. Good Luck=20 Davidm=20 =20 > -----Original Message-----=20 > From: Charlie Bullen [mailto:sw1006@swtravel.swtravel.com]=20 > Sent: None=20 > To: plug-discuss@lists.PLUG.phoenix.az.us=20 > Subject: ftp=20 >=20 >=20 > Good Morning, I need to copy several directories complete with all=20 > files they contain from one computer to another using ftp.=20 > The location=20 > of the directories on computer 1 is /var/www with several=20 > subdirectories.=20 > Many of the subdirectories also have subdirectories and all contain=20 > multiple files. I want the stucture on computer 2 to be the=20 > same as on=20 > computer 1.=20 >=20 > I establish an ftp connection from computer 2 to computer 1=20 > and make the=20 > following entry:=20 >=20 > mget /var/www/* /var/www=20 >=20 > It seems to start the transfer and asks me if I want to transfer = each=20 > file. I answered y. I then closed the session and got the=20 > following response:=20 >=20 > ftp> exit=20 > 221-You have transferred 0 bytes in 0 files.=20 > 221-Total traffic for this session was 244 bytes in 0 transfers.=20 > 221-Thank you for using the FTP service on webserver1.=20 > 221 Goodbye.=20 >=20 > to be sure I went to /var/www on computer 2 and sure enough=20 > nothing was=20 > there. Any Ideas?=20 >=20 > I could get in my car and drive over to the site where all=20 > these files=20 > reside on a win 98 box and ftp them from there to computer 2,=20 > but since I=20 > can ssh into computer 2 from home it seems like there mst be=20 > a way to do=20 > it remotley.=20 >=20 > Sad to say all of my ftp expierience has been using a windows=20 > client to=20 > ftp to a linux or unix box, no command line expierience.=20 >=20 > Thanks=20 >=20 >=20 > Charlie=20 > ________________________________________________=20 > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your=20 > mail doesn't post to the list quickly and you use Netscape to=20 > write mail.=20 >=20 > PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us=20 > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss=20 >=20 ------=_NextPart_000_0031_01C184A6.55098790 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: ftp
you can also try rsync, which will do = recursive and=20 will preserve group and user permissions.
 
man rsync
 
slr
----- Original Message -----
From:=20 David Mandala =
To: 'plug-discuss@lis= ts.PLUG.phoenix.az.us'=20
Sent: Friday, December 14, 2001 = 1:45=20 PM
Subject: RE: ftp

Since you have ssh installed on the computer them = you most=20 likely have scp also installed. scp will do a recursive copy with = compression=20 so it has some major advantages over ftp: secure, easy to use (like = the=20 command line copy command on windows) and works every time.

On your Linux box type man scp. Also if you are = doing this=20 between two Linux boxes check and see if rsync is installed (type man = rsync)=20 if so use it with the "-avz -e ssh" options active.

Good Luck

Davidm
 

> -----Original Message-----
>=20 From: Charlie Bullen [mailto:sw1006@swtravel.swtra= vel.com]=20
> Sent: None
> To:=20 plug-discuss@lists.PLUG.phoenix.az.us
> = Subject:=20 ftp
>
> =
> Good Morning, I need to copy several directories = complete with all=20
> files they contain from one computer to = another=20 using ftp.
> The location =
> of the directories on computer 1 is /var/www with = several=20
> subdirectories.
> Many=20 of the subdirectories also have subdirectories and all contain=20
> multiple files. I want the stucture on = computer 2=20 to be the
> same as on
>=20 computer 1.
>
> I=20 establish an ftp connection from computer 2 to computer 1 =
> and make the
> following = entry:=20
>
> mget /var/www/* = /var/www
>
> = It seems to=20 start the transfer and asks me if I want to transfer each =
> file. I answered y. I then closed the session and got = the=20
> following response:
>=20
> ftp> exit
> 221-You=20 have transferred 0 bytes in 0 files.
> = 221-Total=20 traffic for this session was 244 bytes in 0 transfers. =
> 221-Thank you for using the FTP service on = webserver1.=20
> 221 Goodbye.
>=20
> to be sure I went to /var/www on = computer 2 and=20 sure enough
> nothing was =
> there. Any Ideas?
> =
> I could get in my car and drive over to the site where = all=20
> these files
> reside=20 on a win 98 box and ftp them from there to computer 2, =
> but since I
> can ssh into = computer 2=20 from home it seems like there mst be
> a = way to do=20
> it remotley.
>=20
> Sad to say all of my ftp expierience = has been=20 using a windows
> client to =
> ftp to a linux or unix box, no command line = expierience.=20
>
> Thanks =
>
>
>=20 Charlie
>=20 ________________________________________________
>=20 See http://PLUG.phoenix.az.us/navigator-mail.shtml if = your=20
> mail doesn't post to the list quickly = and you use=20 Netscape to
> write mail. =
>
> PLUG-discuss mailing = list =20 -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-dis= cuss=20
>

------=_NextPart_000_0031_01C184A6.55098790--