Differences
This shows you the differences between the selected revisions of the page.
library_session_enumerateremotefiles 2017-12-05 | library_session_enumerateremotefiles 2023-03-20 (current) | ||
Line 19: | Line 19: | ||
</code> | </code> | ||
- | ==== Parameters ==== | + | ==== [[parameters]] Parameters ==== |
^ Name ^ Description ^ | ^ Name ^ Description ^ | ||
| string ==path== | Full path to root remote directory to start enumeration in. | | | string ==path== | Full path to root remote directory to start enumeration in. | | ||
| string ==mask== | Windows wildcard to filter files.((The Windows wildcard supports ''*'' and ''?'' only.)) To select all files, use ''null''. | | | string ==mask== | Windows wildcard to filter files.((The Windows wildcard supports ''*'' and ''?'' only.)) To select all files, use ''null''. | | ||
- | | EnumerationOptions ==options== | Enumeration options set. \\ Possible values are: \\ ''EnumerationOptions.None'' - Enumerate matching files only. Do not recurse. \\ ''EnumerationOptions.AllDirectories'' - Recurse into subdirectories. \\ ''EnumerationOptions.MatchDirectories'' - Enumerate also matching directories. Cannot be combined with ''EnumerationOptions.EnumerateDirectories''. \\ ''EnumerationOptions.EnumerateDirectories'' - Enumerate also all directories. Must be used with ''EnumerationOptions.AllDirectories''. Cannot be combined with ''EnumerationOptions.MatchDirectories''. | | + | | EnumerationOptions ==options== | Enumeration options set. \\ Possible values are: \\ • ''EnumerationOptions.None'' -- Enumerate matching files only. Do not recurse. \\ • ''EnumerationOptions.AllDirectories'' -- Recurse into subdirectories. \\ • ''EnumerationOptions.MatchDirectories'' -- Enumerate also matching directories. Cannot be combined with ''EnumerationOptions.EnumerateDirectories''. \\ • ''EnumerationOptions.EnumerateDirectories'' -- Enumerate also all directories. Must be used with ''EnumerationOptions.AllDirectories''. Cannot be combined with ''EnumerationOptions.MatchDirectories''. | |
==== Return Value ==== | ==== Return Value ==== | ||
Line 46: | Line 46: | ||
===== [[example]] Examples ===== | ===== [[example]] Examples ===== | ||
+ | |||
==== Real-Life Examples ==== | ==== Real-Life Examples ==== | ||
- | * [[library_example_recursive_search_text|Search recursively for text in remote directory / Grep files over SFTP/FTP protocol]]; | + | * [[library_example_recursive_search_text|*]]; |
- | * [[library_example_recursive_download_custom_error_handling|Recursively download directory tree with custom error handling]]; | + | * [[library_example_recursive_download_custom_error_handling|*]]; |
- | * [[library_example_watch_for_changes|Watching for changes in SFTP/FTP server]]; | + | * [[library_example_watch_for_changes|*]]; |
- | * [[library_example_parallel_transfers|Automating transfers in parallel connections over SFTP/FTP protocol]]; | + | * [[library_example_parallel_transfers|*]]; |
- | * [[script_downloading_when_done_file_exists|Downloading files from FTP/SFTP server only after "done" file is created]]; | + | * [[script_downloading_when_done_file_exists|*]]; |
- | * [[script_download_files_to_same_folder|Downloading all files from FTP/SFTP to the same local folder]]. | + | * [[script_download_files_to_same_folder|*]]; |
+ | * [[library_example_remember_downloaded_files|*]]. | ||