Download documents to folder
This activity downloads SharePoint documents and folder to local disk.
The following wildcard specifiers are permitted in search pattern.
**Wildcard character: **
* - Zero or more characters.
? - Exactly zero or one character.
Characters other than the wildcard specifiers represent themselves. For example, the search pattern string "*t" searches for all names in path ending with the letter "t". The search pattern string "s*" searches for all names in path beginning with the letter "s".
Note: When using the asterisk wildcard character in a search pattern, such as "*.txt", the matching behavior when the extension is exactly three characters long is different than when the extension is more or less than three characters long. A search pattern with a file extension of exactly three characters returns files having an extension of three or more characters, where the first three characters match the file extension specified in the search pattern. A search pattern with a file extension of one, two, or more than three characters returns only files having extensions of exactly that length that match the file extension specified in the search pattern. When using the question mark wildcard character, this method returns only files that match the specified file extension. For example, given two files, "file1.txt" and "file1.txtother", in a directory, a search pattern of "file?.txt" returns just the first file, while a search pattern of "file*.txt" returns both files.
The following list shows the behavior of different lengths for the search pattern parameter:
"*.abc" returns files having an extension of .abc, .abcd, .abcde, .abcdef, and so on.
"*.abcd" returns only files having an extension of .abcd.
"*.abcde" returns only files having an extension of .abcde.
"*.abcdef" returns only files having an extension of .abcdef.
SharePoint Workflow Designer Phrase
Download all documents from this folder_url to this local folder folder. Recursive Yes. Overwrite existing document
|All||Optional. Search pattern. The search string to match against the names of files in path. The parameter cannot end in two periods ("..") or contain two periods ("..") followed by “\” or “/”, nor can it contain any of the invalid path characters. Empty search pattern returns all files.|
|this local folder||The path to local folder. Ex: c:\temp\|
|this folder url||Full url to folder. Ex: http://mysharepoint/MyDocs/Shared%20Documents|
|Yes||Set Yes to download files from sub-folder recursive. Set No to download files from current folder only.|
|Overwrite||Overwrite – activity would overwrite existing file Do not Overwrite – activity skips file if file exists in the local folder|
|Keep original date||None – don’t modify Created – set original Created date Last Modified – set original Last Modified date Created and Last Modified – set original Created and Last Modified date|