Originally posted by joseph corner:
Do I really need to mount the remote file system?
Is this a basic security feature of java, that it can't write to a folder on a remote web server?
Java can't magically reach into other machines to read and write to their file systems. There has to be some mechanism in place for it to do so.
A possible alternative is to set up a service on the remote system that does the reading and writing for you.
This could be a web service, FTP server, webdav server, etc...