We are currently working on our PHP support both by providing a remote PHP API and also making this PHP API available with the JVM using the 100% Java implemented PHP engine Quercus. You can find the current work in progress in HEAD.
You may also want to have a look at the Records Management AMP as it may provide the file transfer features you require.