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