ftp

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: slr
Date:  
Subject: ftp
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: ''=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: =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 - =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


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: ftp</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>you can also try rsync, which will do =
recursive and=20
will preserve group and user permissions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>man rsync</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>slr</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title==20
href=3D"mailto:David.Mandala@DevelopOnline.com">David Mandala</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
title==20
=
href=3D"mailto:'plug-discuss@lists.PLUG.phoenix.az.us'">'plug-discuss@lis=
ts.PLUG.phoenix.az.us'</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, December 14, 2001 =
1:45=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: ftp</DIV>
<DIV><BR></DIV>
<P><FONT size=3D2>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.</FONT></P>
<P><FONT size=3D2>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.</FONT></P>
<P><FONT size=3D2>Good Luck</FONT> </P>
<P><FONT size=3D2>Davidm</FONT> <BR><FONT size=3D2>&nbsp;</FONT> </P>
<P><FONT size=3D2>&gt; -----Original Message-----</FONT> <BR><FONT =
size=3D2>&gt;=20
From: Charlie Bullen [<A=20
=
href=3D"mailto:sw1006@swtravel.swtravel.com">mailto:sw1006@swtravel.swtra=
vel.com</A>]</FONT>=20
<BR><FONT size=3D2>&gt; Sent: None</FONT> <BR><FONT size=3D2>&gt; To:=20
</FONT> <BR><FONT size=3D2>&gt; =
Subject:=20
ftp</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; =
</FONT><BR><FONT=20
size=3D2>&gt; Good Morning, I need to copy several directories =
complete with all=20
</FONT><BR><FONT size=3D2>&gt; files they contain from one computer to =
another=20
using ftp. </FONT><BR><FONT size=3D2>&gt; The location =
</FONT><BR><FONT=20
size=3D2>&gt; of the directories on computer 1 is /var/www with =
several=20
</FONT><BR><FONT size=3D2>&gt; subdirectories. </FONT><BR><FONT =
size=3D2>&gt; Many=20
of the subdirectories also have subdirectories and all contain=20
</FONT><BR><FONT size=3D2>&gt; multiple files. I want the stucture on =
computer 2=20
to be the </FONT><BR><FONT size=3D2>&gt; same as on </FONT><BR><FONT =
size=3D2>&gt;=20
computer 1.</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt; I=20
establish an ftp connection from computer 2 to computer 1 =
</FONT><BR><FONT=20
size=3D2>&gt; and make the </FONT><BR><FONT size=3D2>&gt; following =
entry:</FONT>=20
<BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; mget /var/www/* =

/var/www</FONT> <BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; =
It seems to=20
start the transfer and asks me if I want to transfer each =
</FONT><BR><FONT=20
size=3D2>&gt; file. I answered y. I then closed the session and got =
the=20
</FONT><BR><FONT size=3D2>&gt; following response:</FONT> <BR><FONT =
size=3D2>&gt;=20
</FONT><BR><FONT size=3D2>&gt; ftp&gt; exit</FONT> <BR><FONT =
size=3D2>&gt; 221-You=20
have transferred 0 bytes in 0 files.</FONT> <BR><FONT size=3D2>&gt; =
221-Total=20
traffic for this session was 244 bytes in 0 transfers.</FONT> =
<BR><FONT=20
size=3D2>&gt; 221-Thank you for using the FTP service on =
webserver1.</FONT>=20
<BR><FONT size=3D2>&gt; 221 Goodbye.</FONT> <BR><FONT size=3D2>&gt;=20
</FONT><BR><FONT size=3D2>&gt; to be sure I went to /var/www on =
computer 2 and=20
sure enough </FONT><BR><FONT size=3D2>&gt; nothing was =
</FONT><BR><FONT=20
size=3D2>&gt; there. Any Ideas?</FONT> <BR><FONT size=3D2>&gt; =
</FONT><BR><FONT=20
size=3D2>&gt; I could get in my car and drive over to the site where =
all=20
</FONT><BR><FONT size=3D2>&gt; these files </FONT><BR><FONT =
size=3D2>&gt; reside=20
on a win 98 box and ftp them from there to computer 2, =
</FONT><BR><FONT=20
size=3D2>&gt; but since I </FONT><BR><FONT size=3D2>&gt; can ssh into =
computer 2=20
from home it seems like there mst be </FONT><BR><FONT size=3D2>&gt; a =
way to do=20
</FONT><BR><FONT size=3D2>&gt; it remotley. </FONT><BR><FONT =
size=3D2>&gt;=20
</FONT><BR><FONT size=3D2>&gt; Sad to say all of my ftp expierience =
has been=20
using a windows </FONT><BR><FONT size=3D2>&gt; client to =
</FONT><BR><FONT=20
size=3D2>&gt; ftp to a linux or unix box, no command line =
expierience.</FONT>=20
<BR><FONT size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; Thanks</FONT> =
<BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; </FONT><BR><FONT =
size=3D2>&gt;=20
Charlie</FONT> <BR><FONT size=3D2>&gt;=20
________________________________________________</FONT> <BR><FONT =
size=3D2>&gt;=20
See <A href=3D"http://PLUG.phoenix.az.us/navigator-mail.shtml"=20
target=3D_blank>http://PLUG.phoenix.az.us/navigator-mail.shtml</A> if =
your=20
</FONT><BR><FONT size=3D2>&gt; mail doesn't post to the list quickly =
and you use=20
Netscape to </FONT><BR><FONT size=3D2>&gt; write mail.</FONT> =
<BR><FONT=20
size=3D2>&gt; </FONT><BR><FONT size=3D2>&gt; PLUG-discuss mailing =
list&nbsp;=20
-&nbsp; </FONT> <BR><FONT =
size=3D2>&gt; <A=20
href=3D"http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss" =

=
target=3D_blank>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-dis=
cuss</A></FONT>=20
<BR><FONT size=3D2>&gt; </FONT></P></BLOCKQUOTE></BODY></HTML>

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