Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Thanks

You can list the directories, parse it with some script to generate WinSCP script file for downloading specific files. See this example for similar task.
apurva

Thanks

Any other way I can accomplish this? pointers would help. I just don't want to download the whole folders for one file.
martin

Re: Wildcard use in scripts

You cannot use file masks for directories in path, only for filenames.
apurva

Wildcard use in scripts

I am trying to get filename from different directories. To do that I am using the following command in my script

get "/abc/jkl/com?/stats" c:\logs\


Scenario is that there are folders by name com1, com2, com3 etc.. and I am interested only in the "stats" file in each directory.

The above command gives me
Error listing directory '/abc/jkl/com?'
.

I haven't even reached the second part of using Operation masks to store the several stats file as "stats.com1", "stats.com2" etc.

Using version 4.2.3 build 494