Websafe Rename, Upload, Copy web address - button help

Hello,

I have this button:

@nodeselect Rename PATTERN (.*)([^-0-9a-zA-Z._]+)(.*)# TO \1_\3 REGEXP TYPE=files Copy TO @FTPSite Clipboard COPYNAMES=nopaths REGEXP (.*) http://www.domain.com/\1
The rename works on it's own. The FTP Upload/Copy web address works on it's own. But combined, it only uploads and copies the address of those files that were renamed. All files that don't need to be renamed, don't upload or get copied to clipboard.

Any thoughts on what I'm doing wrong?

Thanks!

Give this a try:

@nodeselect Rename PATTERN (.*)([^-0-9a-zA-Z._]+)(.*)# TO \1_\3 REGEXP TYPE=files dopusrt /acmd Clipboard COPYNAMES=nopaths REGEXP (.*) http://www.domain.com/\1 dopusrt /acmd Copy TO @FTPSite

Thanks for the help Leo!

Almost. It seems to be copying (to clipboard) the 'before' name and not the 'after' name (if it gets renamed). But the fixed (and all) files do get uploaded.

Hmm, you may have to do the rename separately to the rest in that case.

Oh, ok. Thanks for your help as usual Leo!