I have successfully set up a dropbox API (using Spring.Social.DropBox) and am trying to programmatically search my dropbox folder. How do I specifiy a query that can return more than one file type?
DropboxServiceProvider ^dropboxServiceProvider = gcnew Spring::Social::Dropbox::Connect::DropboxServiceProvider(appKey, appSecret, Spring::Social::Dropbox::Api::AccessLevel::AppFolder);
IDropbox ^dropboxApi = dropboxServiceProvider->GetApi(myAccessToken, myAccessSecret);
System::String ^pth = "TestFolder";
System::String ^qry = ".txt";
System::Collections::Generic::IList<Spring::Social::Dropbox::Api::Entry^> ^results = dropboxApi->Search(pth, qry);
The above code works when the querty specifies just one file type (.txt, .png). But how do I construct a query to retrieve multiple file types? I have tried
System::String ^qry = ".txt;.png";
System::String ^qry = ".{txt|png}";
System::String ^qry = ".txt?.png";
Any idea how to do this?