LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] uploading many files to host

[Webdev] uploading many files to host

Matthew Sammon sammonm at tcd.ie
Tue Sep 5 15:05:37 IST 2000


On Mon, Sep 04, 2000 at 11:29:35PM +0100, William Murphy wrote:
> turiel at Redbrick.DCU.ie wrote:
> > You can upload multiple files with ftp. Use the "mput" command with
> > wildcards:
> >
> > ftp> mput *
> 
> You'll probably want to use the -i (noninteractive) switch on the command
> line, or else you'll be asked for confirmation of each individual file.

Yes but mput will only operate on files within a single directory.
There seems to be no ftp command that acts recursively. ie. these 362
files are not in one directory, but located in maybe 50 nested
directories.

If I was to try and use mput I still have to go through the laborious
process of chdiring to subdirectory X locally, creating subdirectory X on
host, mputting all files in X.  Chances of doing this correctly with
50 nested dirs without forgetting to do one dir (or dying of boredom
in the process) are near zero.

-- 
Matthew Sammon  | 
Yr3 CompSci TCD |
sammonm at tcd.ie  |




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell