The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: ftp help
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-15-2007
reborg's Avatar
reborg reborg is offline
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Quote:
Originally Posted by Knotty
So you're saying that if a directory(folder) is holding say 50 files in say ten sub-directories then the only option to transfer these files onto a local machine is to go into each sub-directory and transfer them from there?
Yes, that is exactly what I am saying. You could get more creative a write a coprocess script in ksh to mimic what you want be creating the directories when needed, I think Perderabo even posted such a script here ( serach for recursive ftp ). Some ftp clients also do this.

If you have expect installed, have a look at the rftp example that comes with expect. You'll find it in the same directory as the expect binary.
Reply With Quote