Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Exclude files on FTP



  • Is there a way to exclude a file?
    I would like to exclude all *.config files.
    Everything else should be included.

    Image Text

    Product: BuildMaster
    Version: 4.0.9



  • I'm not sure the component we use to FTP supports negated wildcards, but you can simply add a Delete Files action before this that operates on *.config

    Alternatively (if you don't want to delete because you may re-use the files), you can use the Synchronize/Transfer Files action to a temporary directory (e.g. ~\Ftp) and use a !*.config mask on that to not transfer the configs, then use the FTP action from ~\Ftp as the source directory.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation