Thanks. Yes, there is a php-filepro extension that I could hook up with using the command line interpreter. That may well be what I end up doing. Or maybe port the php extension to python.