Downloading a directory

hello

i am trying to automate a process of watching a directory that gets new subdirectories all the time
what i am trying to do is to watch this directory that resides on the ftp server when a new subdir comes it must wait untill all files are in the new subdir then i need it to download all the subdir to a local pc

i cant find how it should be done

please help me

how do you know when all files are in the new subdirectory? Is there a particular file, or a certain amount or some other indicator?

Posted By Tate Needham on 18 Sep 2008 6:31 PM
how do you know when all files are in the new subdirectory? Is there a particular file, or a certain amount or some other indicator?


hi again

this directory is on ftp and a client adding subdirs with files into that dir, in the subdirs there is always 3 files, 2 .pdf files and a .xml file
i need  way to download the subdirs to a local pc and then make more manipulations on the files, but i cant get how to download subdirs into local pc.

 

thanks