in reply to net ftp recursive - rls and rdir
What i'm looking for is this - I have a list of filenames in my hand. I know they are present in the Unix Sever. I have the name of the parent directory - "/home/prod/game/code". the files may be directly present under this, or in any of the multiple subdirectories(which inturn has many directories under) under it. I do not have the names of all the subdirectories.
So I need to run a search in this 'code' direcory I have and FTP only the files in the list to my local.
As of now, I’m only able to retrieve the files we need only after navigating to the correct directory in which it resides(by hard coding the directory name in the code)
The method i tried above looks complicated. Can you please let me know some solution to get only the desired files.
Thank You!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: net ftp recursive - rls and rdir
by Lotus1 (Vicar) on Sep 10, 2012 at 14:23 UTC | |
by Anonymous Monk on Sep 11, 2012 at 03:10 UTC | |
by poori (Initiate) on Sep 11, 2012 at 07:01 UTC |