excluding subdirectories using "get" in batch file
I am writing a bath file to download files from a remote server.
What I need the file in the current folder, not the subdirectories.
this is my command in batch file:
"get -filemask=*.xml|*/ /user/config/folder C:\Users\Desktop\Batch"
but there is no files downloaded. If I only use "-filemask=*.xml", all xml files both in current folder and subdirectories are downloaded.
what is wrong with my code? thanks a lot.
What I need the file in the current folder, not the subdirectories.
this is my command in batch file:
"get -filemask=*.xml|*/ /user/config/folder C:\Users\Desktop\Batch"
but there is no files downloaded. If I only use "-filemask=*.xml", all xml files both in current folder and subdirectories are downloaded.
what is wrong with my code? thanks a lot.