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

Matt Jenks

Many thanks

Just tried it and worked brilliantly.
Guest

Nothing short of superb, this had worked.

Thanks for your help
TimU

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

How to "get" but exclude sub-directories

Hi

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?

Thanks
Chris