Digi Connect ME - Creating and Deleting a file on the Server

Using Java Applets how can i create a file on the server?
I am able to read a file stored on the server via the Administrative file manage tool but i will like to Create a file, write to it via an applet. this applet will be stored on the the digi connect me. Do i have to do it via a Servlet or CGI script stored on the saver.