Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

reiibs

The Exclude works. Fine :D
Thanks for the Help

Reinhard
martin

1) There's no need to add "*.*" to the and of destination path. It just have to end with backslash.
2) Use "option exclude */" to omit all directories.
reiibs

Thats not working. When i use the command winscp3.com user@host /command "get /path/subdir/*.* D:\test\" i get an Error saying that "D:\test\" is not a file. The Directory D:\test exists. When i add *.* to the Destionationpath it will download all files and Subdirectories. Thats not what i want.

Regards
Reinhard
RickB

Re: download only files

reiibs wrote:

Hello,

I want to try to download only files from a given directory but i found no documentation about that. Is that possible without enum the files and download file by file?

Regards
Reinhard


It is documented here:
https://winscp.net/eng/docs/scriptcommand_get
reiibs

download only files

Hello,

I want to try to download only files from a given directory but i found no documentation about that. Is that possible without enum the files and download file by file?

Regards
Reinhard