GET command is pulling sub-folders as well. How to stop this?
I have something wrong with my
Even if there are no files that meet the criteria, the
The goal of the
Here is what my code looks like:
Any suggestions would be greatly appreciated
get
command but I am unable to figure it out. Basically what happens is that the get
looks at the remote server folder /HR
and checks for files meeting the criteria, then it also looks into all sub-folder of /HR
and checks for files meeting the criteria on those as well.
Even if there are no files that meet the criteria, the
get
command is creating the sub-folders (which I do not want) on the local server.
The goal of the
get
command is to only look in the parent folder (/HR
) and not the sub-folders for files meeting the mask and date of today.
Here is what my code looks like:
Any suggestions would be greatly appreciated