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

IAmAI

It works! Thanks very much for your help :D
martin

Sorry, you are right. Following mask will do:
/usr/public_html;/usr/public_html/*;/usr/public_html/*/*
Shorter, but less precious form is:
/usr/public_html;/usr/public_html*/*
IAmAI

That works for the 'public_html' directory and any immediate subdirectories, but will not match any subdirectories deeper than one level, for example:

/usr/public_html/subdir1/subdir2


The preset it not matched to 'subdir2' when it is browsed to, not will any of its subdirectories of any depth. I wish it to apply to any depth.
martin

For this you need to specify two masks:
/usr/public_html;/usr/public_html/*
IAmAI

martin wrote:

IAmAI wrote:

However, I can tell you that I used the Current button, which does procede the current directory with a backwards slash.

Are you sure with the "backward" slash? For remote directory?

Also, what are you tring to do? "Current" button is on transfer setting autoselection mask. So I suppose you play with it. The mask there is not supposed to select file, but directories.

No, sorry; I mean forward slash. I am trying to select directories: I want to select all the subdirectories of any depth within 'public_html' and the 'public_html' directory itself.
martin

IAmAI wrote:

However, I can tell you that I used the Current button, which does procede the current directory with a backwards slash.

Are you sure with the "backward" slash? For remote directory?

Also, what are you tring to do? "Current" button is on transfer setting autoselection mask. So I suppose you play with it. The mask there is not supposed to select file, but directories.
IAmAI

Actually, I didn't specify the exact directory I am trying to use - I didn't feel it necessary to reveal the directory structure of the server I'm connecting to (and I also described it as an 'example). However, I can tell you that I used the Current button, which does procede the current directory with a backwards slash.
martin

Re: Masks

I guess you miss at least leading slash:

/usr/public_html/*
IAmAI

Masks

I am completely failing to comprehend how masks are supposed to work with transfer presets. Example:
usr/public_html/*

Why, oh why, does the above mask not match any file, within any subdirectory of any depth? It seems logical to me that it should do. Are slashes excluded from applying to *? Please can someone tell me what string I must use in order for the preset to apply to any file a copy to the public_html directory and within any of its subdirectories of any depth? I have tried all sorts and nothing does what I would logically expect nor what I'd like it do. I have read the Masks page, however that has not helped.