Scripting: GET files excluding subdirectories
Hello:
I am using the scripting commands for automation purposes and I am trying to download all "Files" in the remote directory EXCLUDING the sub-directories (such as Archive, Backup, etc.) which are located within the remote directory.
GET *.*
Would download all files and sub-directories, so I am trying to use:
GET -filemask=|*/
GET -filemask="| */"
But it is not working out as expected.
It is specifically downloading sub-directories with the above command.
Any assistance is very much appreciated.
Thank You.
Cheers!
SRR
I am using the scripting commands for automation purposes and I am trying to download all "Files" in the remote directory EXCLUDING the sub-directories (such as Archive, Backup, etc.) which are located within the remote directory.
GET *.*
Would download all files and sub-directories, so I am trying to use:
GET -filemask=|*/
GET -filemask="| */"
But it is not working out as expected.
It is specifically downloading sub-directories with the above command.
Any assistance is very much appreciated.
Thank You.
Cheers!
SRR