On Mon, 22 Sep 2003, Gary Thornock said:
> My favorite: tar jcvf upload.tar.bz2 directory, then ftp, then
> (on the server) tar jxvf upload.tar.bz2
> 
> I'm not aware of an automatic way to upload entire directory
> structures via ftp.
> 
> -----Original Message-----
> From: Richard Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 22, 2003 12:22
> To: BYU Unix Users Group
> Subject: Re: [uug] UNIX equivalent of DOS "FOR" statement?
> 
> 
> Unfortunately, my server doesn't have SSH (out of my control).  I have 
> to upload by FTP.  Any ideas?
> 
> Thanks, Richard

Lots of ways to do it.

If you're going to be doing this a lot, you might look into ncftpput.  It
has a recursive mode that would probably do what you're looking for.  If
all you need is to upload files within a directory, then using ncftp or
lftp and just call mput.  If a graphical utility would work, gftp will
upload/download entire trees.

Frank
---------------------------------------------------------------------------
Frank Sorenson - KD7TZK
CSR Computer Science Department
Brigham Young University
[EMAIL PROTECTED]


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to