To exclude directories in WinSCP open the application and do the following:
- From the
Loginwindow clickTools > Preferences...; - In the
Preferenceswindow navigate toTransfersection in the left side; - From the right side click
Add...button; - In the
Add transfer settings presetwindow, add a title for your preset in thePreset descriptionfield; - Make sure that
Binary (archives, doc, ...)is selected under theTransfer modesection; - Under the
Othersection, at the end of theFile mask:field, click theEdit...button; - Add your files to exclude in the
Exclude files:field, one per line; - Add your directories to exclude in the
Exclude directories:field, one per line; - Click
OKto close the window and to add the file masks;