I need to do the following: Basically, I want to be able to compare two text (or text-equivalent, i.e. not binary) files which are held on a website, e.g.:
http://server01/home/compare/file1.RPGLE.txt
and
http://server01/home/compare/file2.RPGLE.txt
I need to be able to do this via command line to pass the URLs as parameters. I need to be able to invoke it from a connected IBM i (AS/400), passing the URLs of the two files to be compared.
I've been trying out all the file comparison tools I can, like
- WinDiff
- ExamDiff
- DiffDaff
- etc.
and I really can't find one which does what I need – most of them won't allow file comparison by URL – the two files must have a path to them which points to a folder on the same PC or a mapped network drive, so files on a webserver aren't allowed.
DiffDaff does allow you to compare 'websites', but doesn't seem to allow command-line options. Additionally, its source compare results display in a browser window (not ideal, but I guess I can live with it) and aren't in fixed-format (which I can't live with).
Can anyone suggest any alternatives?
P.S.: Obviously it might be possible to use mapped network drives, but that's a bit of a hassle in our case - lots of developers would need to use the same drive letters and I suspect it's just not going to work.