Subject: I want to download remote files only, but am also getting a remote directory
Date: 2011-05-09 13:33:11
From: Sam Tai
Source: want-download-remote-files-also-getting-remote-directory

I'm using the DownloadFiles(String,String,String) override method, and it's been working well.  However, in one case the last (searchPattern) value is "x12*.*" where I want to pick up any files beginning with "x12" having any file extension.  I am able to pick up the file but I also download a remote directory named ".working" which is puzzling since it doesn't match the search pattern.  What do I need to do in order to specify a searchPattern but also to only download files, and not directories?


Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index