Post a reply

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

martin

Re: Solution

Thanks!
gba

Solution

Hi!
See attached file.
You're welcome.
Kind regards,
Gerald
martin

Re: How to archive and download a directory with exclusions?

Can you share your extension?
gba

Re: How to archive and download a directory with exclusions?

martin wrote:

I assume you mean this extension:
https://winscp.net/eng/docs/extension_archive_and_download

We do not have a ready-made solution for what you ask for.

You will have to customize the commands in the extension.
See $archiveCommand variable.

Hi!
Thank you for that hint.
It gave me the right direction.
Now I could create my own extension based on the one you gave me the link to.
My own extension now gives the opportunity to add excludes to the zip or tar command.
Works great!
Kind regards,
Gerald
martin

Re: How to archive and download a directory with exclusions?

I assume you mean this extension:
https://winscp.net/eng/docs/extension_archive_and_download

We do not have a ready-made solution for what you ask for.

You will have to customize the commands in the extension.
See $archiveCommand variable.
gba

How to archive and download a directory with exclusions?

Hi!
WinSCP provides me with a predefined command for archiving and downloading a whole directory.
What custom command would do the same plus the possibility to configure exclusions of files and subdirectories?
Thank you very much in advance for your help!
Kind regards,
Gerald