Fixes #3539 : check inputs in download a file
Merge pull request #127 from ncharles/bug_3539/dev/check_path_format_for_download_a_file

Fixes #3539 : check inputs in download a file