Best method to apply filter to retrieve certain fi (General questions)
I have a large folder tree containing hundreds of folders and thousands of files. I need to get about 1/4 of the files in that tree and do not want to simply grab them all and filter them out on the recieving end. The problem is that these are log files which continually get added on the server 24x7. My connection speed to the server is slow enough that it makes grabbing them all not feasable.
Using the SFTP activeX control, it seems like I should get a listing of all files found and then apply a filter in my application to get a shorter list to pursue retrieving using GetFiles. Is that the best i can do? I read GetFiles will not perform best when having to invoke it over and over for each file, rather then letting it retrieve files in batch.
thoughts?
Complete thread:
- Best method to apply filter to retrieve certain fi - kevino, 2008-07-02, 18:20
- Re: Best method to apply filter to retrieve certai - woddrazen, 2008-07-02, 20:52
- Re: Best method to apply filter to retrieve certai - kevino, 2008-07-02, 21:59
- Re: Best method to apply filter to retrieve certai - woddrazen, 2008-07-02, 22:03
- Re: Best method to apply filter to retrieve certai - kevino, 2008-07-02, 21:59
- Re: Best method to apply filter to retrieve certai - woddrazen, 2008-07-02, 20:52