Topic "Get with *.* are downloading also Directories"

Author Message



I´m having a problem. The home directory of the Ftp contains 30 Folders and some ".xls" files. When I run the following command,

get *.* C:\Temp

, WinSCP is downloading all the .xls files but all the Folders too... The folders name are not containing any "." so I don´t understand why the command is not just downloading the .xls files.

I´m missing something??

(WinSCP 5.5.4)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
It's a Windows convention (Or maybe a backward compatibility hack with DOS).

In Windows, the . is not a really part of the file name, just a separator between name and extension. In most cases using name and name. refers to the same file (name without an extension).

Try dir *.* on Windows command line. It behaves identically to WinSCP.

Actually WinSCP is made explicitly to mimic this convention, it's not any side-effect nor bug. See

If you want to avoid downloading subdirectories, see:

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License