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.

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)


Topic review

Matt Jenks

Many thanks

Just tried it and worked brilliantly.

Nothing short of superb, this had worked.

Thanks for your help

Set this switch in your transfer script, or via the command line:
#Do Not Recurse through sub-dirs 
Option exclude */

How to "get" but exclude sub-directories


I'm using WinSCP 4.3.6 and creating a script to retrieve files.

I'm trying to get all files from a remote directory
get *.*

The remote directory has an archive sub-folder - I don not want to get this.

Is there a way I can do this?