![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Auto copy for files from folder to folder upon instant writing | Bashar | UNIX for Advanced & Expert Users | 2 | 1 Week Ago 11:44 AM |
| Parse the .txt file for folder name and FTP to the corrsponding folder. | MeganP | Shell Programming and Scripting | 3 | 07-03-2007 10:54 AM |
| Take a folder name and find it in another folder (Complicated) | hkhan12 | Shell Programming and Scripting | 5 | 09-06-2006 09:25 AM |
| downloading through ftp | moxxx68 | UNIX for Advanced & Expert Users | 6 | 12-05-2004 01:34 AM |
| Downloading | eric_hing | UNIX for Dummies Questions & Answers | 1 | 09-05-2003 12:12 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
downloading a folder
I know how to download a file from a ftp server through shell script.
But when there is a folder inside the directory you are in, I could not download them. How would you write it? I can think of this. login to ftp and output the directory tree into a file. Log out the session read the output and let the variable to store the folder path log in to ftp again and cd to that directory and download files inside this folder. I think this is cumbersome and not really smart, is there any better ways to do this? |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|