To exclude directories in WinSCP open the application and do the following:
- From the
Login
window clickTools > Preferences...
; - In the
Preferences
window navigate toTransfer
section in the left side; - From the right side click
Add...
button; - In the
Add transfer settings preset
window, add a title for your preset in thePreset description
field; - Make sure that
Binary (archives, doc, ...)
is selected under theTransfer mode
section; - Under the
Other
section, 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
OK
to close the window and to add the file masks;