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

WinSCP cannot do that.
countytime

I think I see. I thought you could set different rules; one rule would be to set permissions on image files, the other rule takes care of everything else. Like this:


My intention was to have the "media" rule catch media files and set them to 644.
martin

countytime wrote:

So if I had a mask for those files, and then selected the permissions, it wouldn't set the permissions on those file types when I uploaded them?

Sure. But it won't upload the other files at all.
countytime

Right. I guess I'm misunderstanding it, because it says:
In the File mask you can specify file mask to select/deselect files (or file types) and directories for the transfer. The option also selects files for synchronization and Keep remote directory up to date function.

Press Edit button to edit the file mask in File mask dialog.

So if I had a mask for those files, and then selected the permissions, it wouldn't set the permissions on those file types when I uploaded them?
countytime

Oh, I assumed that's what the file mask was for... what's the file mask do, then?
martin

Re: How to automatically set permissions on image files?

WinSCP does not support filetype-specific rules.
countytime

How to automatically set permissions on image files?

I'd like to automatically set media files to 644 because it would save me a lot of time and it's relatively safe. I tried setting up a transfer rule with a file mask for *.png, *.jpg, etc.

But it doesn't do anything. How would I go about doing this?