FTP Tree Search Algorithm
Posted on 2004-04-07
Currently in a deep fix and need help from anyone.
Need to search for a file on a server using FTP connection under PHP language. Currently can't figure out how to write the algorithm.
1) File location and node level is not known
2) While will be a ".zip" format
3) Given is only one of the directory name the file in under.
I have never written a search before but I think the search need to be recursive yet I don't know how to backtrack. Please provide me with a sample of the algorithm that I can learn.
Thanks in advance.