download only files

Advertisement

reiibs
Joined:
Posts:
6
Location:
Austria

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

Reply with quote

Advertisement

reiibs
Joined:
Posts:
6
Location:
Austria

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

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.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum