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

martin

Re: -delete causing option exclude to be ignored

Anonymous wrote:

How do I stop this application from removing the sub dirs and the zzz file as displayed in my option exclude statement??

You will need to use some more complex scripts. Sch as listing files to transfer first and then download and delete them one by one. Example scripts may give you some hints.
Guest

Re: -delete causing option exclude to be ignored

martin wrote:

That's by design.


Thanks Martin for pointing it out (although i cant think of why it should be designed as such) - but it still doesn't help me.

How do I stop this application from removing the sub dirs and the zzz file as displayed in my option exclude statement??

Ciao
WeZ
martin

Re: -delete causing option exclude to be ignored

That's by design. See documentation.
WeZ

-delete causing option exclude to be ignored

Hello,

using this code:
option exclude "*/; zzz"

get *.* D:\BACKUP\Afrox\Afrox_Downloaded_Files\20091201\
quit


Winscp downloads all the files in the root directory and ignores the sub-directory as well as the file called "zzz" (don't ask :-))

If i add the -delete option:
option exclude "*/; zzz"

get *.* D:\BACKUP\Afrox\Afrox_Downloaded_Files\20091202\ -delete
quit


It ignores the option exclude values and moved the sub-directories as well as the "zzz" file.

Please can someone help me here?

Ciao
WeZ