Error: not supported to get directory

Feb 18, 2016 at 5:47 PM
Edited Feb 18, 2016 at 5:51 PM
I am attempting to download all files in a remote SFTP directory. Any files in the root of the directory download without issue, but if I am using the "*" wildcard and a folder is encountered in the remote directory the error "Error: not supported to get directory", is thrown? Is there anyway to exclude directory/subfolders so only the files in the root of the directory are downloaded? I am unable to specify the exact extension of the files that will be in the folder, hence, the * wildcard. Thank you, please let me know if any further information is required.