Works great. But, whenever I try to compare from a FTP site BC asks for a username/password. So my thought is to add this to the commandline. But only if it is an FTP site. So I'd like to do something like:
if FTP then:
if site1 then:
extra = ftp://username1:password1@
else:
extra = ftp://username2:password2@
else
extra = ""
BC2.exe {extra|filepath$} {extra|filepathdest$}
Presumably the Opus button is using @nolocalizefiles so that the FTP paths are passed to the command? (Normally Opus would download the files to a temp directory and then pass the local temp-file paths to the command.)
If so then the easiest thing to do is to call a script (or whatever) instead of BC.exe and put your logic into the script.
i.e. The script should see if a path started with ftp://ftp.knownsite.com and if it does insert the username and password for that site into the path before then calling BC.exe